Commit Graph

17126 Commits

Author SHA1 Message Date
3b31c9a34c Roll chromium_revision ebd1c7d184..c78b8bf07f (467307:467338)
Change log: ebd1c7d184..c78b8bf07f
Full diff: ebd1c7d184..c78b8bf07f

Changed dependencies:
* src/base: 6df4d54edc..968c2edbc8
* src/testing: 5a676afe27..464d986813
* src/third_party: f7a180a453..9ec293f33e
* src/tools: b84986f84d..09b6e1c669
DEPS diff: ebd1c7d184..c78b8bf07f/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2843983002
Cr-Commit-Position: refs/heads/master@{#17894}
2017-04-26 16:44:46 +00:00
a05d3c8efe NetEq: Add a VoidAudioSink tool
This is to be used in tests where the audio output is not interesting.

BUG=webrtc:7467

Review-Url: https://codereview.webrtc.org/2842033003
Cr-Commit-Position: refs/heads/master@{#17893}
2017-04-26 16:32:07 +00:00
996fc6bdb7 Don't crash if STUN error message is missing ERROR-CODE attribute.
This is something a well-behaving STUN server shouldn't do, but we shouldn't
crash if it does happen.

Also adding helper function for the common operation of extracting just
the error code out of a STUN packet.

BUG=chromium:708469

Review-Url: https://codereview.webrtc.org/2837133003
Cr-Commit-Position: refs/heads/master@{#17892}
2017-04-26 16:21:22 +00:00
65881de6c8 NetEq: Limit payload size for replacement audio input
With this fix, the size of the fake encoded payload is limited to 120
ms at 48000 samples/second.

BUG=webrtc:7467

Review-Url: https://codereview.webrtc.org/2838353002
Cr-Commit-Position: refs/heads/master@{#17891}
2017-04-26 15:23:35 +00:00
afcf7f5591 Stashed frames are now retried in a loop rather than recursively.
BUG=none

Review-Url: https://codereview.webrtc.org/2841913002
Cr-Commit-Position: refs/heads/master@{#17890}
2017-04-26 15:17:35 +00:00
114c1b3afa NetEq: Add functionality to assist with delay analysis and tooling
This CL adds a few methods to the NetEq API that will be used for
delay analysis and plotting.

BUG=webrtc:7467

Review-Url: https://codereview.webrtc.org/2839163002
Cr-Commit-Position: refs/heads/master@{#17889}
2017-04-26 14:47:32 +00:00
2e79958c42 Fix redirecting to local AppRTC server in video quality test
BUG=webrtc:7185

Review-Url: https://codereview.webrtc.org/2843003002
Cr-Commit-Position: refs/heads/master@{#17888}
2017-04-26 13:52:35 +00:00
994771360d Roll chromium_revision 33930987a0..ebd1c7d184 (467284:467307)
Change log: 33930987a0..ebd1c7d184
Full diff: 33930987a0..ebd1c7d184

Changed dependencies:
* src/testing: 358fce3bef..5a676afe27
* src/third_party: 27fc876410..f7a180a453
* src/tools: 592dffeba3..b84986f84d
DEPS diff: 33930987a0..ebd1c7d184/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2838363002
Cr-Commit-Position: refs/heads/master@{#17887}
2017-04-26 13:30:41 +00:00
521dffab5d Pause changing surface size when rendering is paused.
BUG=b/31895311

Review-Url: https://codereview.webrtc.org/2837563002
Cr-Commit-Position: refs/heads/master@{#17886}
2017-04-26 13:05:18 +00:00
c376fd1573 Roll chromium_revision 040755ece3..33930987a0 (467260:467284)
Change log: 040755ece3..33930987a0
Full diff: 040755ece3..33930987a0

Changed dependencies:
* src/ios: 8003634cbc..0cbbd1d86d
* src/testing: 957c48f5f1..358fce3bef
* src/third_party: 58eb294ef4..27fc876410
* src/tools: dd902aea3e..592dffeba3
DEPS diff: 040755ece3..33930987a0/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2840613007
Cr-Commit-Position: refs/heads/master@{#17885}
2017-04-26 10:41:06 +00:00
1140f97e48 Reland of Creating webrtc/modules:module_api (patchset #1 id:1 of https://codereview.webrtc.org/2839963005/ )
Reason for revert:
Fixing the Gn error and try to reland.

Original issue's description:
> Revert of Creating webrtc/modules:module_api (patchset #5 id:80001 of https://codereview.webrtc.org/2838873002/ )
>
> Reason for revert:
> Causes build problem: https://build.chromium.org/p/client.webrtc/builders/iOS64%20Sim%20Debug%20%28iOS%209.0%29/builds/1630/steps/generate%20build%20files%20%28mb%29/logs/stdio
>
> Original issue's description:
> > Creating webrtc/modules:module_api
> >
> > This target keeps track of .h the files under webrtc/modules/include/
> > that are not part of any target.
> > If a .h file is not part of a target the 'gn check' utility is not
> > able to spot if a target is missing a dependency because even if
> > it parses '#include' directives it is not able to find a target that
> > contains these headers.
> >
> > BUG=webrtc:7513
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2838873002
> > Cr-Commit-Position: refs/heads/master@{#17880}
> > Committed: 5a1a092ed0
>
> TBR=kjellander@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7513
>
> Review-Url: https://codereview.webrtc.org/2839963005
> Cr-Commit-Position: refs/heads/master@{#17881}
> Committed: bb08c3e296

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

Review-Url: https://codereview.webrtc.org/2843913002
Cr-Commit-Position: refs/heads/master@{#17884}
2017-04-26 10:38:35 +00:00
f53f47f4dc Fix default extension id for video content type extension
BUG=webrtc:7420

Review-Url: https://codereview.webrtc.org/2840173002
Cr-Commit-Position: refs/heads/master@{#17883}
2017-04-26 09:35:31 +00:00
8245a85429 ObjC: Split out I420 texture uploading into separate class
This CL splits out the code in RTCI420Shader.mm for uploading byte
buffers to textures into its own class RTCI420TextureCache. The purpose
is to prepare for allowing clients to inject their own shaders.
RTCI420TextureCache will be used in the generic code, while the actual
shaders in RTCI420Shader will be customizable by the client.

BUG=webrtc:7473

Review-Url: https://codereview.webrtc.org/2842453002
Cr-Commit-Position: refs/heads/master@{#17882}
2017-04-26 09:02:10 +00:00
bb08c3e296 Revert of Creating webrtc/modules:module_api (patchset #5 id:80001 of https://codereview.webrtc.org/2838873002/ )
Reason for revert:
Causes build problem: https://build.chromium.org/p/client.webrtc/builders/iOS64%20Sim%20Debug%20%28iOS%209.0%29/builds/1630/steps/generate%20build%20files%20%28mb%29/logs/stdio

Original issue's description:
> Creating webrtc/modules:module_api
>
> This target keeps track of .h the files under webrtc/modules/include/
> that are not part of any target.
> If a .h file is not part of a target the 'gn check' utility is not
> able to spot if a target is missing a dependency because even if
> it parses '#include' directives it is not able to find a target that
> contains these headers.
>
> BUG=webrtc:7513
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2838873002
> Cr-Commit-Position: refs/heads/master@{#17880}
> Committed: 5a1a092ed0

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

Review-Url: https://codereview.webrtc.org/2839963005
Cr-Commit-Position: refs/heads/master@{#17881}
2017-04-26 09:00:16 +00:00
5a1a092ed0 Creating webrtc/modules:module_api
This target keeps track of .h the files under webrtc/modules/include/
that are not part of any target.
If a .h file is not part of a target the 'gn check' utility is not
able to spot if a target is missing a dependency because even if
it parses '#include' directives it is not able to find a target that
contains these headers.

BUG=webrtc:7513
NOTRY=True

Review-Url: https://codereview.webrtc.org/2838873002
Cr-Commit-Position: refs/heads/master@{#17880}
2017-04-26 08:53:54 +00:00
7866cfe575 Move autowrap from ThreadManager constructor to Thread::Current.
This is in preparation for a WrapCurrentThread method,
or AutoThread constructor, taking a socket
server as argument, to eliminate the need for the
MessageQueue::set_socketserver method and its lock.

No intended change in behaviour; the ThreadManager constructor
records the calling thread id, and autowrap is still restricted to
that thread. Behavior when NO_MAIN_THREAD_WRAPPING is defined is
also unchanged.

Also makes the ThreadManager a singleton, with private constructor
and destructor. And marks its destructor as RTC_NOTREACHED, since
by the documentation for RTC_DEFINE_STATIC_LOCAL, the intention is to
leak the object and never destruct it.

BUG=webrtc:7501

Review-Url: https://codereview.webrtc.org/2833993003
Cr-Commit-Position: refs/heads/master@{#17879}
2017-04-26 08:45:31 +00:00
20a60853a6 Roll chromium_revision 65df576fce..040755ece3 (467223:467260)
Change log: 65df576fce..040755ece3
Full diff: 65df576fce..040755ece3

Changed dependencies:
* src/build: 95c219be89..7f9ac78db8
* src/testing: 4630decafb..957c48f5f1
* src/third_party: 437ceaa36b..58eb294ef4
DEPS diff: 65df576fce..040755ece3/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2842023004
Cr-Commit-Position: refs/heads/master@{#17878}
2017-04-26 07:50:43 +00:00
3d7b0e2fda Revert of Enable GN check for webrtc/base (patchset #9 id:350001 of https://codereview.webrtc.org/2840453004/ )
Reason for revert:
It causes a Chromium build error:

ERROR at //third_party/webrtc/test/BUILD.gn:113:5: Can't load input file.
    "//third_party/gflags",

Original issue's description:
> Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
>
> Reason for revert:
> Try to fix the webrtc/test/fuzzers issue and reland this CL because it
> contains lots of fixes for our BUILD.gn files.
>
> Original issue's description:
> > Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
> >
> > Reason for revert:
> > Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).
> >
> > Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.
> >
> > Original issue's description:
> > > Enable GN check for webrtc/base
> > >
> > > It's not possible to enable it for the rtc_base_approved
> > > target but since a larger refactoring is ongoing for webrtc/base
> > > this CL doesn't attempt to fix that.
> > >
> > > Changes made:
> > > * Move webrtc/system_wrappers/include/stringize_macros.h into
> > >   webrtc/base:rtc_base_approved_unittests (and corresponding
> > >   unit test to rtc_base_approved_unittests).
> > > * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> > > * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
> > >   webrtc/base.
> > > * Remove unused use include of webrtc/base/fileutils.h in
> > >   webrtc/base/pathutils.cc
> > >
> > > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > > NOTRY=True
> > >
> > > Review-Url: https://codereview.webrtc.org/2717083002
> > > Cr-Commit-Position: refs/heads/master@{#17766}
> > > Committed: ed754e71ae
> >
> > TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2838683002
> > Cr-Commit-Position: refs/heads/master@{#17849}
> > Committed: 11ed366c48
>
> TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
>
> Review-Url: https://codereview.webrtc.org/2840453004
> Cr-Commit-Position: refs/heads/master@{#17876}
> Committed: 7054085e59

TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6828, webrtc:3806, webrtc:7480

Review-Url: https://codereview.webrtc.org/2846483002
Cr-Commit-Position: refs/heads/master@{#17877}
2017-04-26 07:38:48 +00:00
7054085e59 Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
Reason for revert:
Try to fix the webrtc/test/fuzzers issue and reland this CL because it
contains lots of fixes for our BUILD.gn files.

Original issue's description:
> Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
>
> Reason for revert:
> Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).
>
> Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.
>
> Original issue's description:
> > Enable GN check for webrtc/base
> >
> > It's not possible to enable it for the rtc_base_approved
> > target but since a larger refactoring is ongoing for webrtc/base
> > this CL doesn't attempt to fix that.
> >
> > Changes made:
> > * Move webrtc/system_wrappers/include/stringize_macros.h into
> >   webrtc/base:rtc_base_approved_unittests (and corresponding
> >   unit test to rtc_base_approved_unittests).
> > * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> > * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
> >   webrtc/base.
> > * Remove unused use include of webrtc/base/fileutils.h in
> >   webrtc/base/pathutils.cc
> >
> > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2717083002
> > Cr-Commit-Position: refs/heads/master@{#17766}
> > Committed: ed754e71ae
>
> TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2838683002
> Cr-Commit-Position: refs/heads/master@{#17849}
> Committed: 11ed366c48

TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6828, webrtc:3806, webrtc:7480

Review-Url: https://codereview.webrtc.org/2840453004
Cr-Commit-Position: refs/heads/master@{#17876}
2017-04-26 07:28:08 +00:00
dbb1be59ff Use field_trial::IsEnabled for FlexFEC.
Also clarify some comments.

BUG=webrtc:5654

Review-Url: https://codereview.webrtc.org/2839883002
Cr-Commit-Position: refs/heads/master@{#17875}
2017-04-26 07:02:34 +00:00
81c79f51aa Creating webrtc:video_stream_api
This target keeps track of .h the files under webrtc/ that are not part
of any target.
If a .h file is not part of a target the 'gn check' utility is not
able to spot if a target is missing a dependency because even if
it parses '#include' directives it is not able to find a target that
contains these headers.

BUG=webrtc:7512
NOTRY=True

Review-Url: https://codereview.webrtc.org/2841873002
Cr-Commit-Position: refs/heads/master@{#17874}
2017-04-26 06:42:15 +00:00
dc2fcdd87d Roll chromium_revision 0ce0ee1aa6..65df576fce (467182:467223)
Change log: 0ce0ee1aa6..65df576fce
Full diff: 0ce0ee1aa6..65df576fce

Changed dependencies:
* src/base: 27cb99b49f..6df4d54edc
* src/third_party: a14a549e5e..437ceaa36b
* src/tools: be8699c4ab..dd902aea3e
DEPS diff: 0ce0ee1aa6..65df576fce/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2841023002
Cr-Commit-Position: refs/heads/master@{#17873}
2017-04-26 04:14:56 +00:00
59993c330e Roll chromium_revision dc11faf5dd..0ce0ee1aa6 (467128:467182)
Change log: dc11faf5dd..0ce0ee1aa6
Full diff: dc11faf5dd..0ce0ee1aa6

Changed dependencies:
* src/base: 0371213b8c..27cb99b49f
* src/build: 3b1d8eb828..95c219be89
* src/testing: bfd04d29e7..4630decafb
* src/third_party: a38ccefb8b..a14a549e5e
* src/third_party/catapult: b2c22b39ba..380124f4ad
* src/tools: b59881b6ea..be8699c4ab
DEPS diff: dc11faf5dd..0ce0ee1aa6/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2842743003
Cr-Commit-Position: refs/heads/master@{#17872}
2017-04-26 01:17:14 +00:00
ab64d927ec Roll chromium_revision b58e339c1c..dc11faf5dd (467062:467128)
Change log: b58e339c1c..dc11faf5dd
Full diff: b58e339c1c..dc11faf5dd

Changed dependencies:
* src/base: 547acff79d..0371213b8c
* src/build: a8f1fe795b..3b1d8eb828
* src/testing: 22dec726b2..bfd04d29e7
* src/third_party: 66072d9e3a..a38ccefb8b
* src/third_party/catapult: 13344fafc8..b2c22b39ba
* src/tools: ae554d9f74..b59881b6ea
DEPS diff: b58e339c1c..dc11faf5dd/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2839013002
Cr-Commit-Position: refs/heads/master@{#17871}
2017-04-25 22:22:49 +00:00
6275dfdd06 Fix comment about remote restart being requested in createOffer
BUG=None

Review-Url: https://codereview.webrtc.org/2837153002
Cr-Commit-Position: refs/heads/master@{#17870}
2017-04-25 19:57:14 +00:00
7885d3f5c6 Add SafeMin() and SafeMax(), which accept args of different types
Specifically, they handle all combinations of two integer and two
floating-point arguments by picking a result type that is guaranteed
to be able to hold the result. This means callers no longer have to
deal with potentially dangerous casting to make all the arguments have
the same type, like they have to with std::min() and std::max().

Also, they're constexpr.

Mostly for illustrative purposes, this CL replaces a few std::min()
and std::max() calls with SafeMin() and SafeMax().

BUG=webrtc:7459

Review-Url: https://codereview.webrtc.org/2810483002
Cr-Commit-Position: refs/heads/master@{#17869}
2017-04-25 19:35:07 +00:00
192c348aaf Roll chromium_revision 1920c68e77..b58e339c1c (467000:467062)
Change log: 1920c68e77..b58e339c1c
Full diff: 1920c68e77..b58e339c1c

Changed dependencies:
* src/base: 5a3645c167..547acff79d
* src/build: 9c64b49731..a8f1fe795b
* src/ios: 5f8fd156f8..8003634cbc
* src/third_party: 028ffdec0d..66072d9e3a
* src/third_party/catapult: bc8989ef1a..13344fafc8
* src/tools: 416759d6fb..ae554d9f74
DEPS diff: 1920c68e77..b58e339c1c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2842843002
Cr-Commit-Position: refs/heads/master@{#17868}
2017-04-25 19:10:24 +00:00
67c12c833f Roll chromium_revision bf1b7c0414..1920c68e77 (466961:467000)
Change log: bf1b7c0414..1920c68e77
Full diff: bf1b7c0414..1920c68e77

Changed dependencies:
* src/base: 12da83f20e..5a3645c167
* src/build: c554b04d8f..9c64b49731
* src/ios: 1a4f269509..5f8fd156f8
* src/third_party: b806c9e775..028ffdec0d
* src/third_party/catapult: b367d46487..bc8989ef1a
* src/tools: 86542c1e6b..416759d6fb
DEPS diff: bf1b7c0414..1920c68e77/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2841483006
Cr-Commit-Position: refs/heads/master@{#17867}
2017-04-25 16:11:50 +00:00
5bcd5958ee Roll chromium_revision 0f1c9920f3..bf1b7c0414 (466937:466961)
Change log: 0f1c9920f3..bf1b7c0414
Full diff: 0f1c9920f3..bf1b7c0414

Changed dependencies:
* src/base: 924e9ae93e..12da83f20e
* src/build: dc85c82b26..c554b04d8f
* src/ios: c9dae15695..1a4f269509
* src/third_party: 999c782817..b806c9e775
* src/tools: 3b9cb80018..86542c1e6b
DEPS diff: 0f1c9920f3..bf1b7c0414/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2840843002
Cr-Commit-Position: refs/heads/master@{#17866}
2017-04-25 13:48:08 +00:00
e54a033284 Remove deprecated headers
BUG=webrtc:5881

Review-Url: https://codereview.webrtc.org/2839593002
Cr-Commit-Position: refs/heads/master@{#17865}
2017-04-25 13:09:42 +00:00
82de179f7d Android: Move EglBase10/EglBase14 from to API to src
BUG=webrtc:7172

Review-Url: https://codereview.webrtc.org/2831603002
Cr-Commit-Position: refs/heads/master@{#17864}
2017-04-25 12:32:07 +00:00
e0629c045e GN: Tighten up test target visibility + refactorings
Make all rtc_source_test target that contains tests that
are included in a test executable only be visible to the
rtc_test target. Doing this exposed a couple of errors and
dependency problems that were resolved. Having this could
have prevented duplicated execution of tests like the case that
was recently fixed by deadbeef@ in
https://codereview.webrtc.org/2820263004

New targets:
* //webrtc/modules/rtp_rtcp:fec_test_helper
* //webrtc/modules/rtp_rtcp:mock_rtp_rtcp
* //webrtc/modules/remote_bitrate_estimator:mock_remote_bitrate_observer

The mock files and targets should probably be moved into webrtc/test in
the future, but that's out of the scope of this CL.

BUG=webrtc:5716
NOTRY=True

Review-Url: https://codereview.webrtc.org/2828793003
Cr-Commit-Position: refs/heads/master@{#17863}
2017-04-25 11:04:50 +00:00
b8a654c218 Delete declaration of non-existing function webrtc::Version().
BUG=None

Review-Url: https://codereview.webrtc.org/2844433002
Cr-Commit-Position: refs/heads/master@{#17862}
2017-04-25 10:46:51 +00:00
9460a3d7ac Roll chromium_revision f0aff0ca64..0f1c9920f3 (466903:466937)
Change log: f0aff0ca64..0f1c9920f3
Full diff: f0aff0ca64..0f1c9920f3

Changed dependencies:
* src/third_party: 7dfb7f948b..999c782817
* src/tools: f1946c1dab..3b9cb80018
DEPS diff: f0aff0ca64..0f1c9920f3/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2839903002
Cr-Commit-Position: refs/heads/master@{#17861}
2017-04-25 10:35:11 +00:00
4e0ef346b7 Add default implementations of metrics and field trial to 'webrtc' target.
Having this, the produced libwebrtc.a library becomes complete and is
more useful to most downstream users. More advanced use cases that needs to
wire up their own field trial and metrics implementations will need to
create their own target.

BUG=webrtc:7372
NOTRY=True
CC=agouaillard@gmail.com

Review-Url: https://codereview.webrtc.org/2840553002
Cr-Commit-Position: refs/heads/master@{#17860}
2017-04-25 09:26:32 +00:00
9087d49b83 Enabling 'gn check' on webrtc/video.
I disabled the check on "video_tests" because it pulls
"//webrtc/media/rtc_unittest_main" as a dependency and it defines
the _main (that is already defined by "//webrtc/test:test_main").

I will file a bug to solve this in another CL.

BUG=webrtc:6828
NOTRY=True

Review-Url: https://codereview.webrtc.org/2832063003
Cr-Commit-Position: refs/heads/master@{#17859}
2017-04-25 07:35:35 +00:00
df3a191471 Roll chromium_revision d7693c7e2e..f0aff0ca64 (466873:466903)
Change log: d7693c7e2e..f0aff0ca64
Full diff: d7693c7e2e..f0aff0ca64

Changed dependencies:
* src/build: 87cefe1eb8..dc85c82b26
* src/third_party: 9b0f146fab..7dfb7f948b
* src/third_party/catapult: 892a0b6a45..b367d46487
* src/tools: e164c38ade..f1946c1dab
DEPS diff: d7693c7e2e..f0aff0ca64/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2841483005
Cr-Commit-Position: refs/heads/master@{#17858}
2017-04-25 07:20:15 +00:00
30cba07bd1 Delete unused class ComThread.
BUG=None

Review-Url: https://codereview.webrtc.org/2835893003
Cr-Commit-Position: refs/heads/master@{#17857}
2017-04-25 07:09:15 +00:00
073581f96c rtc_include_tests=false in libfuzzer bot
To catch bug like chromium:713179 we don't include rtc tests in the
libfuzzer bot (like chromium does).

BUG=chromium:714531
NOTRY=True

Review-Url: https://codereview.webrtc.org/2836873002
Cr-Commit-Position: refs/heads/master@{#17856}
2017-04-25 07:07:36 +00:00
7d5ae1f3c3 Roll chromium_revision 2aa858d1b0..d7693c7e2e (466845:466873)
Change log: 2aa858d1b0..d7693c7e2e
Full diff: 2aa858d1b0..d7693c7e2e

Changed dependencies:
* src/build: 4841350c40..87cefe1eb8
* src/third_party: 7091c9e2b5..9b0f146fab
* src/tools: acf462eaf3..e164c38ade
DEPS diff: 2aa858d1b0..d7693c7e2e/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2838803004
Cr-Commit-Position: refs/heads/master@{#17855}
2017-04-25 04:09:40 +00:00
8d45e8d188 Roll chromium_revision 9ff73ab6d5..2aa858d1b0 (466784:466845)
Change log: 9ff73ab6d5..2aa858d1b0
Full diff: 9ff73ab6d5..2aa858d1b0

Changed dependencies:
* src/base: db7a65d275..924e9ae93e
* src/build: 2245a109f1..4841350c40
* src/testing: ce7e2bbca8..22dec726b2
* src/third_party: df17ecd5db..7091c9e2b5
* src/third_party/catapult: 5671bb03d4..892a0b6a45
* src/tools: a8472157af..acf462eaf3
DEPS diff: 9ff73ab6d5..2aa858d1b0/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2841443003
Cr-Commit-Position: refs/heads/master@{#17854}
2017-04-25 01:13:28 +00:00
56162b9f67 Move ready to send logic from BaseChannel to RtpTransport.
BUG=webrtc:7013

Review-Url: https://codereview.webrtc.org/2812243005
Cr-Commit-Position: refs/heads/master@{#17853}
2017-04-24 23:54:35 +00:00
2784b69401 Roll chromium_revision b3877746a0..9ff73ab6d5 (466648:466784)
Change log: b3877746a0..9ff73ab6d5
Full diff: b3877746a0..9ff73ab6d5

Changed dependencies:
* src/base: e1363398a9..db7a65d275
* src/build: 4636d31671..2245a109f1
* src/ios: c12058d5d3..c9dae15695
* src/testing: 5863b520bc..ce7e2bbca8
* src/third_party: c76b35c7ea..df17ecd5db
* src/third_party/catapult: 20f7e5a41b..5671bb03d4
* src/third_party/libvpx/source/libvpx: f22b828d68..b35f64241f
* src/tools: 53003ed813..a8472157af
DEPS diff: b3877746a0..9ff73ab6d5/DEPS

No update to Clang.

TBR=marpan@webrtc.org,
BUG=None

Review-Url: https://codereview.webrtc.org/2836203002
Cr-Commit-Position: refs/heads/master@{#17852}
2017-04-24 22:16:56 +00:00
b80ef8c46e Revert of Enabling 'gn check' on //webrtc/test. (patchset #3 id:90001 of https://codereview.webrtc.org/2815103005/ )
Reason for revert:
Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).

Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.

Original issue's description:
> Reland of Enabling 'gn check' on //webrtc/test. (patchset #1 id:1 of https://codereview.webrtc.org/2817003002/ )
>
> Reason for revert:
> The original CL was breaking a downstream buildbot: https://build.chromium.org/p/client.webrtc/builders/Linux64%20Release%20%28Libfuzzer%29/builds/5429
>
> This CL fixes some dependencies in: webrtc/test/fuzzers/BUILD.gn
> (PS #2 and PS #3).
>
> BUG=webrtc:6828
>
> Original issue's description:
> > Revert of Enabling 'gn check' on //webrtc/test. (patchset #10 id:180001 of https://codereview.webrtc.org/2796363003/ )
> >
> > Reason for revert:
> > It is breaking a downstream bot.
> >
> > Original issue's description:
> > > Enabling 'gn check' on //webrtc/test.
> > >
> > > BUG=webrtc:6828
> > > NOTRY=True
> > >
> > > Review-Url: https://codereview.webrtc.org/2796363003
> > > Cr-Commit-Position: refs/heads/master@{#17689}
> > > Committed: b41445858e
> >
> > TBR=kjellander@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:6828
> >
> > Review-Url: https://codereview.webrtc.org/2817003002
> > Cr-Commit-Position: refs/heads/master@{#17690}
> > Committed: 8a24f47bad
>
> Review-Url: https://codereview.webrtc.org/2815103005
> Cr-Commit-Position: refs/heads/master@{#17758}
> Committed: 6f27633f47

TBR=kjellander@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6828
NOTRY=True

Review-Url: https://codereview.webrtc.org/2842533002
Cr-Commit-Position: refs/heads/master@{#17851}
2017-04-24 20:05:47 +00:00
a115a4b0f3 Roll chromium_revision 3323cb816a..b3877746a0 (466620:466648)
Change log: 3323cb816a..b3877746a0
Full diff: 3323cb816a..b3877746a0

Changed dependencies:
* src/base: bf77077bed..e1363398a9
* src/ios: 5d380920c0..c12058d5d3
* src/testing: c02d0680b8..5863b520bc
* src/third_party: af8892ebe8..c76b35c7ea
* src/third_party/catapult: 4d4343808a..20f7e5a41b
* src/tools: ca8ceac069..53003ed813
DEPS diff: 3323cb816a..b3877746a0/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2836813004
Cr-Commit-Position: refs/heads/master@{#17850}
2017-04-24 19:32:58 +00:00
11ed366c48 Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
Reason for revert:
Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).

Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.

Original issue's description:
> Enable GN check for webrtc/base
>
> It's not possible to enable it for the rtc_base_approved
> target but since a larger refactoring is ongoing for webrtc/base
> this CL doesn't attempt to fix that.
>
> Changes made:
> * Move webrtc/system_wrappers/include/stringize_macros.h into
>   webrtc/base:rtc_base_approved_unittests (and corresponding
>   unit test to rtc_base_approved_unittests).
> * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
>   webrtc/base.
> * Remove unused use include of webrtc/base/fileutils.h in
>   webrtc/base/pathutils.cc
>
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2717083002
> Cr-Commit-Position: refs/heads/master@{#17766}
> Committed: ed754e71ae

TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6828, webrtc:3806, webrtc:7480
NOTRY=True

Review-Url: https://codereview.webrtc.org/2838683002
Cr-Commit-Position: refs/heads/master@{#17849}
2017-04-24 19:26:27 +00:00
44d305a806 Remove the expat and jsoncpp dependencies to reduce binary size.
The dependency on third_party/expat/ is removed.

The dependency on third_party/jsoncpp is removed from
libjingle_peerconnection while peerconnection_client still
depends on it.

BUG=webrtc:7516

Review-Url: https://codereview.webrtc.org/2832283002
Cr-Commit-Position: refs/heads/master@{#17848}
2017-04-24 19:05:06 +00:00
9d1ea5cc22 Clear DesktopFrame in DxgiFrame to avoid legacy image
Once the buffer returned by Windows is not newly allocated, it may contain
legacy images from previous capturing attempts. This usually is not a problem,
as implementations other than ScreenCapturerWinDirectx paint each pixel on the
frame. But due to the one capturer per monitor design of
ScreenCapturerWinDirectx, part of the frame may not be covered by any
DxgiOutputDuplicator, and cause the legacy image to be shown.
So a very simple fix is to clear the DesktopFrame in DxgiFrame.

BUG=708766

Review-Url: https://codereview.webrtc.org/2827983007
Cr-Commit-Position: refs/heads/master@{#17847}
2017-04-24 18:50:05 +00:00
d8868637ee Revert of Removing test deps in webrtc/test/fuzzers (patchset #1 id:1 of https://codereview.webrtc.org/2840523003/ )
Reason for revert:
Breaks libfuzzer bot - you forgot to run that one :P

https://build.chromium.org/p/client.webrtc/builders/Linux64%20Release%20%28Libfuzzer%29/builds/5571

Original issue's description:
> Removing test deps in webrtc/test/fuzzers
>
> Targets in webrtc/test/fuzzers are used in chromium which includes WebRTC
> with rtc_include_tests=false.
>
> We enabled 'gn check' on the webrtc/test directory and we have detected
> that some dependencies were not tracked. These dependencies are on test
> targets so we cannot add them in the dep list because this causes a
> breakage in chromium.
>
> BUG=webrtc:7515
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2840523003
> Cr-Commit-Position: refs/heads/master@{#17844}
> Committed: 14b86d3864

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

Review-Url: https://codereview.webrtc.org/2835263002
Cr-Commit-Position: refs/heads/master@{#17846}
2017-04-24 18:31:17 +00:00
246ef3ea0e Change from WebRtcRTPHeader to RTPHeader in NetEq tests and tools
With this CL, all tests and tools under the neteq/ folder are
converted to use RTPHeader instead of WebRtcRTPHeader. WebRtcRTPHeader
has an RTPHeader as a member. None of the other member in
WebRtcRTPHeader where used.

TBR=kjellander@webrtc.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_compile_rel_ng,linux_chromium_compile_dbg_ng
BUG=webrtc:7467

Review-Url: https://codereview.webrtc.org/2809153002
Cr-Commit-Position: refs/heads/master@{#17845}
2017-04-24 16:14:32 +00:00