Commit Graph

15338 Commits

Author SHA1 Message Date
930959d261 Improvements to the reliability of the echo detector perf test.
BUG=chromium:673683

Review-Url: https://codereview.webrtc.org/2568883004
Cr-Commit-Position: refs/heads/master@{#15606}
2016-12-14 13:48:25 +00:00
a701469a93 Roll chromium_revision a8e17a3031..135e29eed5 (438476:438491)
Change log: a8e17a3031..135e29eed5
Full diff: a8e17a3031..135e29eed5

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2572023003
Cr-Commit-Position: refs/heads/master@{#15605}
2016-12-14 13:06:57 +00:00
8fc0c4c32f Add vector<uint8_t> to Base64 decoded data types.
This is a prerequisite to decode fmtp sprop-parameter-sets into
the right encoding for H264SpsPpsTracker.

# Legal requires us to keep the original license header.
NOPRESUBMIT=true
BUG=webrtc:5948

Review-Url: https://codereview.webrtc.org/2539153002
Cr-Commit-Position: refs/heads/master@{#15604}
2016-12-14 12:13:05 +00:00
0878f94650 Delete accidental drmemory symlink
Dr Memory is no longer used and the symlink in third_party was
accidentally added in https://codereview.webrtc.org/2399373002

TBR=philipel@webrtc.org
BUG=webrtc:5006

Review-Url: https://codereview.webrtc.org/2578463003 .
Cr-Commit-Position: refs/heads/master@{#15603}
2016-12-14 12:05:22 +00:00
665da28857 Autoroller: Add --ignore-unclean-workdir flag
Add a flag that makes the script more useful for local development, when
you normally develop on a local branch.

BUG=webrtc:5006
NOTRY=True

Review-Url: https://codereview.webrtc.org/2566223007
Cr-Commit-Position: refs/heads/master@{#15602}
2016-12-14 11:57:13 +00:00
a5bb562bfe Delete webrtc/transport.h.
Preliminary work for this deletion was done in
https://codereview.webrtc.org/2426563003. The header has been moved to
webrtc/api/transport.h. This follow-up CL may cause breakages for
clients that have not updated their includes.

TBR=kwiberg@webrtc.org
BUG=webrtc:6785

Review-Url: https://codereview.webrtc.org/2568953007
Cr-Commit-Position: refs/heads/master@{#15601}
2016-12-14 11:48:53 +00:00
9e1e6c599d Corrected access of null pointer in audioproc_f:
The previous CL that added the ability to add
and artificial nearend signal had an issue with
null pointer access.

This is addressed in this CL.

BUG=webrtc:6018

Review-Url: https://codereview.webrtc.org/2573033003
Cr-Commit-Position: refs/heads/master@{#15600}
2016-12-14 11:12:27 +00:00
63e6a38745 Removes verification of audio parameters on Android
TBR=glaznev
BUG=webrtc:6890

Review-Url: https://codereview.webrtc.org/2572963003
Cr-Commit-Position: refs/heads/master@{#15599}
2016-12-14 10:53:31 +00:00
fded4ccec4 Roll chromium_revision 5fb8c41aea..a8e17a3031 (438448:438476)
Change log: 5fb8c41aea..a8e17a3031
Full diff: 5fb8c41aea..a8e17a3031

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2575773002
Cr-Commit-Position: refs/heads/master@{#15598}
2016-12-14 10:25:00 +00:00
0989fbcad2 Revert of Delete VideoFrame default constructor, and IsZeroSize method. (patchset #5 id:80001 of https://codereview.webrtc.org/2541863002/ )
Reason for revert:
Crashes perf tests, e.g.,

./out/Debug/webrtc_perf_tests --gtest_filter='FullStackTest.ScreenshareSlidesVP8_2TL_VeryLossyNet'

dies with an assert related to rtc::Optional.

Original issue's description:
> Delete VideoFrame default constructor, and IsZeroSize method.
>
> This ensures that the video_frame_buffer method never can return a
> null pointer.
>
> BUG=webrtc:6591
>
> Committed: https://crrev.com/bfcf561923a42005e4c7d66d8e72e5932155f997
> Cr-Commit-Position: refs/heads/master@{#15574}

TBR=magjed@webrtc.org,stefan@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6591

Review-Url: https://codereview.webrtc.org/2574123002
Cr-Commit-Position: refs/heads/master@{#15597}
2016-12-14 10:06:49 +00:00
7b2516620c Fix for left shift of negative value in NetEq.
BUG=chromium:666612

Review-Url: https://codereview.webrtc.org/2569193002
Cr-Commit-Position: refs/heads/master@{#15596}
2016-12-14 10:00:02 +00:00
bd6c6fa309 Delete method Pathname::url and base/urlencode*
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2572703002
Cr-Commit-Position: refs/heads/master@{#15595}
2016-12-14 09:43:08 +00:00
bb66ec3573 Disable flaky test VideoProcessorIntegrationTest.ProcessNoLossChangeFrameRateFrameDropVP9
This test is flaky on all platforms, not just Android. Disabling it entirely until webrtc:6057 is fixed.

BUG=webrtc:6057

Review-Url: https://codereview.webrtc.org/2568743007
Cr-Commit-Position: refs/heads/master@{#15594}
2016-12-14 09:17:34 +00:00
e0eae3cec6 This CL adds the basic framework for AEC3 in the audio processing module.
It will be followed by a number of other CLs that extends this framework.

BUG=webrtc:6018

Review-Url: https://codereview.webrtc.org/2567513003
Cr-Commit-Position: refs/heads/master@{#15593}
2016-12-14 09:16:28 +00:00
db397429d4 Delete unused class rtc::RegKey.
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2571763002
Cr-Commit-Position: refs/heads/master@{#15592}
2016-12-14 08:30:33 +00:00
e5dc62aeb8 PRESUBMIT: Add authorized-authors check + AUTHORS e-mails.
This check will throw a PRESUBMIT error if the author or
organization is not present in the AUTHORS file.

E-mail wildcard entries were also added to the organizations
in the AUTHORS file.

BUG=webrtc:6852
NOTRY=True

Review-Url: https://codereview.webrtc.org/2564613002
Cr-Commit-Position: refs/heads/master@{#15591}
2016-12-14 08:16:29 +00:00
43c5a974b4 Delete stl_util.h. Unused since cl https://codereview.webrtc.org/2447103002
BUG=None

Review-Url: https://codereview.webrtc.org/2570833002
Cr-Commit-Position: refs/heads/master@{#15590}
2016-12-14 08:07:44 +00:00
8afbc8cba6 Revert of Delete rtc::linked_ptr. Only use, in statstypes.h, replaced bu std::unique_ptr. (patchset #1 id:1 of https://codereview.webrtc.org/2567143003/ )
Reason for revert:
The change from rtc::linked_ptr to std::unique_ptr broke a downstream project.

Original issue's description:
> Delete rtc::linked_ptr. Only use, in statstypes.h, replaced with std::unique_ptr.
>
> BUG=webrtc:6424
>
> Committed: https://crrev.com/36f74e55792cae19db8b222c29aa38d6e0eb1225
> Cr-Commit-Position: refs/heads/master@{#15588}

TBR=solenberg@webrtc.org,pthatcher@webrtc.org,hta@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2576673002
Cr-Commit-Position: refs/heads/master@{#15589}
2016-12-14 08:06:38 +00:00
36f74e5579 Delete rtc::linked_ptr. Only use, in statstypes.h, replaced with std::unique_ptr.
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2567143003
Cr-Commit-Position: refs/heads/master@{#15588}
2016-12-14 07:36:26 +00:00
dd3c811ef8 Roll chromium_revision cfd026f99e..5fb8c41aea (438418:438448)
Change log: cfd026f99e..5fb8c41aea
Full diff: cfd026f99e..5fb8c41aea

Changed dependencies:
* src/third_party/catapult: b7b743b576..041b58513c
DEPS diff: cfd026f99e..5fb8c41aea/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2574083002
Cr-Commit-Position: refs/heads/master@{#15587}
2016-12-14 07:15:48 +00:00
a5073c0c97 Disable AudioDeviceTest.StartPlayoutOnTwoInstances on iOS
This test fails when running on real iOS devices.

BUG=webrtc:6889
TBR=henrika@webrtc.org

Review-Url: https://codereview.webrtc.org/2576653002 .
Cr-Commit-Position: refs/heads/master@{#15586}
2016-12-14 06:25:24 +00:00
80df795e3c Roll chromium_revision e234d53ddf..cfd026f99e (438369:438418)
Change log: e234d53ddf..cfd026f99e
Full diff: e234d53ddf..cfd026f99e

Changed dependencies:
* src/third_party/catapult: 87f283fcd1..b7b743b576
DEPS diff: e234d53ddf..cfd026f99e/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2573993005
Cr-Commit-Position: refs/heads/master@{#15585}
2016-12-14 04:07:13 +00:00
e26b89c2dc Roll chromium_revision b571577c64..e234d53ddf (438292:438369)
Change log: b571577c64..e234d53ddf
Full diff: b571577c64..e234d53ddf

Changed dependencies:
* src/third_party/catapult: 565b54db0b..87f283fcd1
* src/third_party/libvpx/source/libvpx: d7f1d60c51..817488be47
DEPS diff: b571577c64..e234d53ddf/DEPS

No update to Clang.

TBR=marpan@webrtc.org,
BUG=None

Review-Url: https://codereview.webrtc.org/2570143004
Cr-Commit-Position: refs/heads/master@{#15584}
2016-12-14 01:21:50 +00:00
62802a1b0e Fixing possible crash due to RefCountedChannel assignment operator.
We relied on the default destructor of RefCountedChannel to destroy its
members in reverse initialization order (deleting the DTLS wrapper
before the underlying ICE channel).

However, std::vector also may use the default assignment operator, which
performs a member-wise copy in initialization order. Which results in
deleting the ICE channel before the DTLS one. This CL fixes this by
using a vector of pointers instead of structures, and uses RefCountedObject
to handle ref-counting.

BUG=chromium:672951

Review-Url: https://codereview.webrtc.org/2571683004
Cr-Commit-Position: refs/heads/master@{#15583}
2016-12-14 00:38:46 +00:00
b236257763 Fixing integer overflow when parsing bandwidth attribute.
It's still valid SDP so just clamp it at INT_MAX.

BUG=chromium:648071

Review-Url: https://codereview.webrtc.org/2571073002
Cr-Commit-Position: refs/heads/master@{#15582}
2016-12-14 00:37:16 +00:00
9396a08077 Roll chromium_revision 79b1930444..b571577c64 (438242:438292)
Change log: 79b1930444..b571577c64
Full diff: 79b1930444..b571577c64

Changed dependencies:
* src/third_party/catapult: bf0f62a283..565b54db0b
DEPS diff: 79b1930444..b571577c64/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2570163002
Cr-Commit-Position: refs/heads/master@{#15581}
2016-12-13 22:50:12 +00:00
95aa96465d Support external audio mixer in webrtc 2.
An external audio mixer will be passed from PeerConnectionFactory to
AudioTransportProxy.

This CL has rewritten based on reverted CL
https://codereview.chromium.org/2539213003/
The only difference is that
  static MediaEngineInterface* Create(
      webrtc::AudioDeviceModule* adm,
      const rtc::scoped_refptr<webrtc::AudioDecoderFactory>&
          audio_decoder_factory,
      WebRtcVideoEncoderFactory* video_encoder_factory,
      WebRtcVideoDecoderFactory* video_decoder_factory);
in media/engine/webrtcmediaengine.h is kept in this CL instead of
replaced for backward compatibility.

BUG=webrtc:6457

Review-Url: https://codereview.webrtc.org/2570993002
Cr-Commit-Position: refs/heads/master@{#15580}
2016-12-13 22:06:35 +00:00
7af91ddd6b Removing "crypto_required" from MediaContentDescription.
"Crypto required" is a property of the PeerConnection of construction
time; it has nothing to do with SDP. So I'm moving it out of
MediaContentDescription and putting it in the BaseChannel constructor
instead. This is more intuitive, and provides the added assurance that
"secure_required_" can't be flipped from "true" to "false".

BUG=None

Review-Url: https://codereview.webrtc.org/2537343003
Cr-Commit-Position: refs/heads/master@{#15579}
2016-12-13 19:29:16 +00:00
00fd520c8c Roll chromium_revision 047b36f906..79b1930444 (438176:438242)
Change log: 047b36f906..79b1930444
Full diff: 047b36f906..79b1930444

Changed dependencies:
* src/third_party/catapult: e6e0862c81..bf0f62a283
DEPS diff: 047b36f906..79b1930444/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2568333003
Cr-Commit-Position: refs/heads/master@{#15578}
2016-12-13 19:21:35 +00:00
b68cc75f19 ParseCandidate(): Refactor to fix memcheck false positive.
Also make supported protocols explicit in check.

Fix inconsistency where TLS_PROTOCOL_NAME was not exported.

BUG=webrtc:6885

Review-Url: https://codereview.webrtc.org/2570803003
Cr-Commit-Position: refs/heads/master@{#15577}
2016-12-13 18:33:47 +00:00
f8b262e6e6 Roll chromium_revision e882052d97..047b36f906 (438143:438176)
Change log: e882052d97..047b36f906
Full diff: e882052d97..047b36f906

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2569033003
Cr-Commit-Position: refs/heads/master@{#15576}
2016-12-13 16:09:05 +00:00
301fc4a712 Update common_audio/smoothing_filter.
The improvement is mainly to extrapolate missing samples so that when querying the output, it assumes the input to continue even if no actual new samples are added.

The new implementation does not rely on base/exp_filter any longer. This is because it would be a bit cumbersome. base/exp_filter does pre-extrapolate, i.e., it assumes the all missing samples since the last sample equals the new sample.

BUG=webrtc:6443

Review-Url: https://codereview.webrtc.org/2551363002
Cr-Commit-Position: refs/heads/master@{#15575}
2016-12-13 14:53:07 +00:00
bfcf561923 Delete VideoFrame default constructor, and IsZeroSize method.
This ensures that the video_frame_buffer method never can return a
null pointer.

BUG=webrtc:6591

Review-Url: https://codereview.webrtc.org/2541863002
Cr-Commit-Position: refs/heads/master@{#15574}
2016-12-13 14:08:39 +00:00
46711db355 Disable flaky QualityScaler tests for now.
BUG=webrtc:6799
TBR=sprang@webrtc.org

Review-Url: https://codereview.webrtc.org/2564423002
Cr-Commit-Position: refs/heads/master@{#15573}
2016-12-13 13:32:31 +00:00
277b250936 Refactor "secure bool" into explicit PROTO_TLS.
BUG=none

Review-Url: https://codereview.webrtc.org/2568833002
Cr-Commit-Position: refs/heads/master@{#15572}
2016-12-13 13:17:31 +00:00
1c4b5bcd6f Roll chromium_revision 632410c83c..e882052d97 (438112:438143)
Change log: 632410c83c..e882052d97
Full diff: 632410c83c..e882052d97

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2573693003
Cr-Commit-Position: refs/heads/master@{#15571}
2016-12-13 13:11:46 +00:00
38b6dbc793 Autoroller: Support for rolling individual DEPS entries.
Add functionality for automatic rolling of individual DEPS
entries. This will make it possible to move away from the
links created by setup_links.py to real DEPS entries.

There are two kinds of such deps we intend to use:
1. Third party dependencies used by both WebRTC and Chromium:
  those are rolled to the same revision as the Chromium DEPS file of the revision passed
  to the script
2. Chromium sub-directories needed for WebRTC (mainly for //build and BUILD.gn
   files of third_party deps): those are rolled to the HEAD revision
Notice that the latter kind could be rolled ahead of the chromium_revision,
but generally these should be close (and if it passes the bots, we don't really mind).

The new functionality can coexist with the old one, to
enable a smooth transition (not everything needs to change at once).

Some of the updating logic was inspired by
https://cs.chromium.org/chromium/build/scripts/slave/recipes/v8/auto_roll_v8_deps.py

Add extensive tests for the logic of figuring out deps changes,
including mocking git ls-remote call to keep the tests hermetic.

BUG=webrtc:5006
NOTRY=True

Review-Url: https://codereview.webrtc.org/2570603003
Cr-Commit-Position: refs/heads/master@{#15570}
2016-12-13 11:35:28 +00:00
ef16e9960f Add a gtk3 port of peerconnection_client on Linux
BUG=668446

Review-Url: https://codereview.webrtc.org/2563203002
Cr-Commit-Position: refs/heads/master@{#15569}
2016-12-13 10:57:50 +00:00
349092befe Logging basic bad call detection
BUG=webrtc:6814

Review-Url: https://codereview.webrtc.org/2474913002
Cr-Commit-Position: refs/heads/master@{#15568}
2016-12-13 10:46:06 +00:00
e381015ca0 Revert of New PeerConnectionInterface::GetStats: No bogus default implementation. (patchset #1 id:1 of https://codereview.webrtc.org/2566143002/ )
Reason for revert:
Breaks google3 importer:
http://webrtc-buildbot-master.mtv.corp.google.com:21000/builders/WebRTC%20google3%20Importer/builds/11260

Original issue's description:
> New PeerConnectionInterface::GetStats: No bogus default implementation.
>
> The Chromium mock implementation implements the new GetStats API, so we
> can remove this default implementation.
>
> BUG=chromium:627816
>
> Committed: https://crrev.com/8f2309478da41cd8b829d022874dfd5ddc58551c
> Cr-Commit-Position: refs/heads/master@{#15563}

TBR=deadbeef@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:627816

Review-Url: https://codereview.webrtc.org/2575493002
Cr-Commit-Position: refs/heads/master@{#15567}
2016-12-13 10:35:24 +00:00
414598973d Roll chromium_revision 2d6dcff9ac..632410c83c (438085:438112)
Change log: 2d6dcff9ac..632410c83c
Full diff: 2d6dcff9ac..632410c83c

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2567273003
Cr-Commit-Position: refs/heads/master@{#15566}
2016-12-13 10:28:41 +00:00
07e276c8d5 Rename RtpStreamReceiver::SetCodec() to ::AddCodec().
AddCodec represents better what this function actually does.

BUG=None

Review-Url: https://codereview.webrtc.org/2573593003
Cr-Commit-Position: refs/heads/master@{#15565}
2016-12-13 10:23:43 +00:00
4b9ff416b4 setup_links: Remove mojo and WebKit links.
BUG=webrtc:5629
NOTRY=True

Review-Url: https://codereview.webrtc.org/2573603002
Cr-Commit-Position: refs/heads/master@{#15564}
2016-12-13 09:52:20 +00:00
8f2309478d New PeerConnectionInterface::GetStats: No bogus default implementation.
The Chromium mock implementation implements the new GetStats API, so we
can remove this default implementation.

BUG=chromium:627816

Review-Url: https://codereview.webrtc.org/2566143002
Cr-Commit-Position: refs/heads/master@{#15563}
2016-12-13 09:45:15 +00:00
03392d0047 Fix for negative shift value in NetEq.
BUG=chromium:667028

Review-Url: https://codereview.webrtc.org/2562423002
Cr-Commit-Position: refs/heads/master@{#15562}
2016-12-13 09:05:37 +00:00
921019c48b Delete unused class AsyncFile.
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2566953002
Cr-Commit-Position: refs/heads/master@{#15561}
2016-12-13 07:56:01 +00:00
1b7230015c Roll chromium_revision e5fe50e808..2d6dcff9ac (437879:438085)
Change log: e5fe50e808..2d6dcff9ac
Full diff: e5fe50e808..2d6dcff9ac

Changed dependencies:
* src/third_party/catapult: 19565fdb14..e6e0862c81
* src/third_party/ffmpeg: 26be2ced90..f309edd782
DEPS diff: e5fe50e808..2d6dcff9ac/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2569863004
Cr-Commit-Position: refs/heads/master@{#15560}
2016-12-13 07:13:16 +00:00
6de92f9255 Don't allow changing ICE pool size after SetLocalDescription.
This was the decision at IETF 97
(see: https://github.com/rtcweb-wg/jsep/issues/381). It's simpler to not
allow this (since there's no real need for it) rather than try to decide
complex rules for it.

BUG=webrtc:6864

Review-Url: https://codereview.webrtc.org/2566833002
Cr-Commit-Position: refs/heads/master@{#15559}
2016-12-13 02:49:40 +00:00
25ed435afe Implement parsing/serialization of a=bundle-only.
This CL doesn't start *using* a=bundle-only; it just adds support for
parsing it. We need to do this first, because otherwise old versions of
WebRTC will interpret a zero port value as a rejected m= section.

BUG=webrtc:4674

Review-Url: https://codereview.webrtc.org/2562183002
Cr-Commit-Position: refs/heads/master@{#15558}
2016-12-13 02:37:41 +00:00
39ce11f7f6 Revert of Support external audio mixer. (patchset #5 id:140001 of https://codereview.webrtc.org/2539213003/ )
Reason for revert:
A interface change broke some downstream code in google3.

Original issue's description:
> Support external audio mixer in webrtc.
>
> An external audio mixer will be passed from PeerConnectionFactory to
> AudioTransportProxy.
>
> BUG=webrtc:6457
>
> Committed: https://crrev.com/f6bcac59e88c3be5ffd73bbb1098f2d82ee316a1
> Cr-Commit-Position: refs/heads/master@{#15556}

TBR=solenberg@webrtc.org,aleloi@webrtc.org,deadbeef@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6457

Review-Url: https://codereview.webrtc.org/2562333003
Cr-Commit-Position: refs/heads/master@{#15557}
2016-12-13 01:07:00 +00:00