17143 Commits

Author SHA1 Message Date
ossu
3b9ff38d8a Have AudioSendStream register CNG payload types with the RtpRtcpModule.
TBR=kwiberg@webrtc.org # Turn perf-bots green again

BUG=webrtc:5806

Review-Url: https://codereview.webrtc.org/2844803003
Cr-Commit-Position: refs/heads/master@{#17911}
2017-04-27 15:03:42 +00:00
brandtr
9078d8cf05 Add warning about timestamp non-monotonicity in the frame buffer.
BUG=None

Review-Url: https://codereview.webrtc.org/2844643002
Cr-Commit-Position: refs/heads/master@{#17910}
2017-04-27 14:07:27 +00:00
hewwatt
ace5c8836d This CL adds RTCMTLVideoView.h and RTCCameraVideoCapturer.h to WebRTC.h
in order to fix a build issue that comes up when using WebRTC.framework from swift code.

BUG=webrtc:7488

Review-Url: https://codereview.webrtc.org/2832803002
Cr-Commit-Position: refs/heads/master@{#17909}
2017-04-27 13:26:19 +00:00
buildbot
b4e16bddc5 Roll chromium_revision b4046080f3..ee09af07ab (467632:467650)
Change log: b4046080f3..ee09af07ab
Full diff: b4046080f3..ee09af07ab

Changed dependencies:
* src/third_party: 75a6eecf54..3c7123e728
* src/tools: 07e72eee62..5ffaea44c6
DEPS diff: b4046080f3..ee09af07ab/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2844833003
Cr-Commit-Position: refs/heads/master@{#17908}
2017-04-27 13:10:38 +00:00
kwiberg
7a12b5ad8e Run some peer connection end-to-end tests with an empty audio decoder factory
Specifically, the tests that only use data channels shouldn't need any
audio codec support; by using an audio decoder factory that supports
no codecs, we ensure that this is the case.

For completeness, I tried doing the same to the two tests that
actually use audio and video; as expected, they fail, with messages
like this:

  [000:032] (webrtcsession.cc:334): Failed to set remote sdp: Session
  error code: ERROR_CONTENT. Session error description: Failed to set
  local audio description recv parameters..

BUG=webrtc:5805

Review-Url: https://codereview.webrtc.org/2848563002
Cr-Commit-Position: refs/heads/master@{#17907}
2017-04-27 10:55:57 +00:00
buildbot
0f80a7a5a6 Roll chromium_revision 4dbe8b7c5c..b4046080f3 (467609:467632)
Change log: 4dbe8b7c5c..b4046080f3
Full diff: 4dbe8b7c5c..b4046080f3

Changed dependencies:
* src/ios: 8caeadbd67..3a45235579
* src/third_party: b939684d5e..75a6eecf54
DEPS diff: 4dbe8b7c5c..b4046080f3/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2844243002
Cr-Commit-Position: refs/heads/master@{#17906}
2017-04-27 10:50:27 +00:00
magjed
6702739862 Revert of Support adding and removing MediaRecorder to camera 2 session. (patchset #5 id:80001 of https://codereview.webrtc.org/2833773003/ )
Reason for revert:
Breaks external bot

Original issue's description:
> Support adding and removing MediaRecorder to camera 2 session.
>
> Camera 1 API is not supported.
>
> BUG=b/36684011
>
> Review-Url: https://codereview.webrtc.org/2833773003
> Cr-Commit-Position: refs/heads/master@{#17901}
> Committed: 2fc04769fa

TBR=sakal@webrtc.org,glaznev@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=b/36684011

Review-Url: https://codereview.webrtc.org/2844233002
Cr-Commit-Position: refs/heads/master@{#17905}
2017-04-27 09:34:20 +00:00
ossu
20a4b3fb2a Injectable audio encoders: WebRtcVoiceEngine and company
These are the changes made to WebRtcVoiceEngine and surrounding
code. It still contains some things that are inelegant, like how
AudioCodecSpec and AudioFormatInfo is ferried around in
SendCodecSpec. This should probably be resolved before landing.

There are also a few test still that are disabled. They should be
removed or fixed, as the case may be.

I've put this CL up to get a better overview of the changes made and
how reviewable they are.

BUG=webrtc:5806

Review-Url: https://codereview.webrtc.org/2705093002
Cr-Commit-Position: refs/heads/master@{#17904}
2017-04-27 09:08:52 +00:00
ossu
66753c34ad Normalize codec names to those used by AcmCodecDatabase.
With the upcoming changes to WebRtcVoiceEngine due to injectable audio
encoders, codec names will no longer be normalized against the ACM's
codec database. This not only breaks a couple of downstream tests
(which I've written fixes for) but also runs the risk of breaking
other external usage, like SDP mangling etc.

Eventually, we should change to using the spelling from the relevant
RFCs, although not as part of this other, large change.

BUG=webrtc:5806

Review-Url: https://codereview.webrtc.org/2845603002
Cr-Commit-Position: refs/heads/master@{#17903}
2017-04-27 08:47:13 +00:00
magjed
15f0c6815d ObjC: Split out NV12 texture uploading into separate class
This CL splits out the code in RTCNV12Shader.mm for uploading byte
buffers to textures into its own class RTCNV12TextureCache. The purpose
is to prepare for allowing clients to inject their own shaders.
RTCNV12TextureCache will be used in the generic code, while the actual
shaders in RTCNV12Shader will be customizable by the client.

BUG=webrtc:7473

Review-Url: https://codereview.webrtc.org/2835203003
Cr-Commit-Position: refs/heads/master@{#17902}
2017-04-27 08:26:33 +00:00
glaznev
2fc04769fa Support adding and removing MediaRecorder to camera 2 session.
Camera 1 API is not supported.

BUG=b/36684011

Review-Url: https://codereview.webrtc.org/2833773003
Cr-Commit-Position: refs/heads/master@{#17901}
2017-04-27 08:12:55 +00:00
buildbot
e173802797 Roll chromium_revision c1ad8f0a9e..4dbe8b7c5c (467572:467609)
Change log: c1ad8f0a9e..4dbe8b7c5c
Full diff: c1ad8f0a9e..4dbe8b7c5c

Changed dependencies:
* src/base: 204c30d26c..b9d8077ea9
* src/build: dd5adf3f10..7c160a8fdd
* src/third_party: b63c609c71..b939684d5e
* src/tools: 0b679d7680..07e72eee62
DEPS diff: c1ad8f0a9e..4dbe8b7c5c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2844173003
Cr-Commit-Position: refs/heads/master@{#17900}
2017-04-27 07:11:25 +00:00
buildbot
0bef66c82e Roll chromium_revision 30474f0644..c1ad8f0a9e (467535:467572)
Change log: 30474f0644..c1ad8f0a9e
Full diff: 30474f0644..c1ad8f0a9e

Changed dependencies:
* src/build: 8ed22b4e14..dd5adf3f10
* src/ios: f161939fe9..8caeadbd67
* src/testing: 913363a57d..944933e3e3
* src/third_party: f4c3f2c0f7..b63c609c71
* src/third_party/catapult: 6858510487..8062a5765b
* src/tools: 493bf55909..0b679d7680
DEPS diff: 30474f0644..c1ad8f0a9e/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2843283003
Cr-Commit-Position: refs/heads/master@{#17899}
2017-04-27 04:13:46 +00:00
buildbot
5d48edd960 Roll chromium_revision 72267c39aa..30474f0644 (467470:467535)
Change log: 72267c39aa..30474f0644
Full diff: 72267c39aa..30474f0644

Changed dependencies:
* src/base: 93342143c2..204c30d26c
* src/build: 353dc5a1f1..8ed22b4e14
* src/ios: b49947c1a7..f161939fe9
* src/testing: d8d2a6bbee..913363a57d
* src/third_party: 0c07bebe41..f4c3f2c0f7
* src/third_party/catapult: abff3b4929..6858510487
* src/tools: c049b2d171..493bf55909
DEPS diff: 72267c39aa..30474f0644/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2845853002
Cr-Commit-Position: refs/heads/master@{#17898}
2017-04-27 01:30:35 +00:00
deadbeef
cb3836773c Allow a received audio codec's payload type to change.
This will create another decoder instance, which isn't ideal, but
that's better than the current behavior where things don't work at all.

We still need to fix the root cause of the linked bug, which is that we
don't remember previous payload type mappings when generating an offer.

This CL also adds a check for what is a real error: when a payload type
that was mapped to one codec is changed to map to a different codec.

And lastly, this CL removes a DCHECK for an assumption that was not
valid: that subsequently applied codec lists will always be supersets of
previous lists.

BUG=webrtc:5847

Review-Url: https://codereview.webrtc.org/2831333002
Cr-Commit-Position: refs/heads/master@{#17897}
2017-04-26 23:28:42 +00:00
buildbot
1517caaf7d Roll chromium_revision 1fbce15166..72267c39aa (467396:467470)
Change log: 1fbce15166..72267c39aa
Full diff: 1fbce15166..72267c39aa

Changed dependencies:
* src/base: 8bebb39d14..93342143c2
* src/build: 6761650489..353dc5a1f1
* src/ios: 1717d5b461..b49947c1a7
* src/third_party: 01531e9c80..0c07bebe41
* src/third_party/android_tools: https://chromium.googlesource.com/android_tools.git/+log/b65c4776da..cb6bc21107
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/777fdd6443..afd88c27f2
* src/third_party/catapult: 380124f4ad..abff3b4929
* src/third_party/usrsctp/usrsctplib: 8679f2b0bf..2f6478eb8d
* src/tools: 57cbb986db..c049b2d171
DEPS diff: 1fbce15166..72267c39aa/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2840363002
Cr-Commit-Position: refs/heads/master@{#17896}
2017-04-26 22:28:11 +00:00
buildbot
bfa2bbabed Roll chromium_revision c78b8bf07f..1fbce15166 (467338:467396)
Change log: c78b8bf07f..1fbce15166
Full diff: c78b8bf07f..1fbce15166

Changed dependencies:
* src/base: 968c2edbc8..8bebb39d14
* src/build: 7f9ac78db8..6761650489
* src/ios: 0cbbd1d86d..1717d5b461
* src/testing: 464d986813..d8d2a6bbee
* src/third_party: 9ec293f33e..01531e9c80
* src/tools: 09b6e1c669..57cbb986db
DEPS diff: c78b8bf07f..1fbce15166/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2847473003
Cr-Commit-Position: refs/heads/master@{#17895}
2017-04-26 19:12:07 +00:00
buildbot
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
henrik.lundin
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
deadbeef
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
henrik.lundin
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
philipel
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
henrik.lundin
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
oprypin
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
buildbot
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
sakal
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
buildbot
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
mbonadei
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
ilnik
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
magjed
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
mbonadei
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
mbonadei
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
nisse
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
buildbot
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
mbonadei
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
mbonadei
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
brandtr
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
mbonadei
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
buildbot
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
buildbot
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
buildbot
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
philipp.hancke
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
kwiberg
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
buildbot
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
buildbot
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
buildbot
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
ilnik
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
magjed
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
kjellander
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
nisse
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