Commit Graph

18056 Commits

Author SHA1 Message Date
56c78aea5f Update FlexFEC field trial string in AppRTCMobile Android.
BUG=webrtc:5654

Review-Url: https://codereview.webrtc.org/2847543004
Cr-Commit-Position: refs/heads/master@{#17924}
2017-04-28 09:52:20 +00:00
d208815685 iOS/MacOS:Refactor metal rendering by extracting common implementation
in separate super class.

Included changes:
- Fix rendering on iOS to support NV12 and i420 frames
- Improve code style
- Update build targets
- Update tests

BUG=webrtc:7079

Review-Url: https://codereview.webrtc.org/2784243003
Cr-Commit-Position: refs/heads/master@{#17923}
2017-04-28 09:14:54 +00:00
7a38fd2628 Add NetEqInput::PacketData::ToString method
This new method prints information about the packet.

BUG=webrtc:7467

Review-Url: https://codereview.webrtc.org/2844283002
Cr-Commit-Position: refs/heads/master@{#17922}
2017-04-28 08:35:53 +00:00
b637a94b63 NetEq tests: BUILD target reorg
In this CL, the neteq_unittest_tools target is split in two separate
targets. One still called neteq_tools which does not set
testonly=true and that includes code related to audio input,
replacement audio and fake decoding. The other target called
neteq_test_tools contains the remaining files, and is
still under testonly=true.

Other renames:
neteq_test_tools -> neteq_test_tools_deprecated
neteq_test_minimal -> neteq_tools_minimal

Cyclic dependencies were also cleaned up.

CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_compile_rel_ng,linux_chromium_compile_dbg_ng
BUG=webrtc:7467,webrtc:6828

Review-Url: https://codereview.webrtc.org/2845013003
Cr-Commit-Position: refs/heads/master@{#17921}
2017-04-28 07:59:45 +00:00
777cb7b4c6 Roll chromium_revision 6089c73618..7d57a8fa0d (467879:467919)
Change log: 6089c73618..7d57a8fa0d
Full diff: 6089c73618..7d57a8fa0d

Changed dependencies:
* src/ios: 4c45645b83..468200325f
* src/third_party: bffa61b87a..62d592853b
* src/third_party/catapult: 9c9ac13a2b..778079b344
* src/tools: 4b4d0f0e40..d696949400
DEPS diff: 6089c73618..7d57a8fa0d/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2848493005
Cr-Commit-Position: refs/heads/master@{#17920}
2017-04-28 07:08:42 +00:00
bf7fd722c0 Roll chromium_revision 8ba4e2e2f7..6089c73618 (467799:467879)
Change log: 8ba4e2e2f7..6089c73618
Full diff: 8ba4e2e2f7..6089c73618

Changed dependencies:
* src/base: 745aef4563..93f3cd4407
* src/build: 0e4c5f7a35..02044bf86a
* src/ios: 4385bc0c51..4c45645b83
* src/testing: 944933e3e3..d62e5167d6
* src/third_party: 1cf0bb3e29..bffa61b87a
* src/third_party/catapult: 67894d267d..9c9ac13a2b
* src/tools: a8abdfc29f..4b4d0f0e40
DEPS diff: 8ba4e2e2f7..6089c73618/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2847053002
Cr-Commit-Position: refs/heads/master@{#17919}
2017-04-28 04:14:44 +00:00
4032674349 Forward capturer_id between DesktopFrame and its implementations
This is a trivial change to forward capturer id from various DesktopFrame
related implementations.

BUG=chromium:679523, chromium:650926

Review-Url: https://codereview.webrtc.org/2851513003
Cr-Commit-Position: refs/heads/master@{#17918}
2017-04-28 01:39:01 +00:00
911c5904d1 Roll chromium_revision ae8025b865..8ba4e2e2f7 (467795:467799)
Change log: ae8025b865..8ba4e2e2f7
Full diff: ae8025b865..8ba4e2e2f7

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2844423002
Cr-Commit-Position: refs/heads/master@{#17917}
2017-04-28 01:13:52 +00:00
1fdb7e3c48 Roll chromium_revision e052a49fd7..ae8025b865 (467736:467795)
Change log: e052a49fd7..ae8025b865
Full diff: e052a49fd7..ae8025b865

Changed dependencies:
* src/base: 8cc4c16e5a..745aef4563
* src/build: 24b506bc33..0e4c5f7a35
* src/ios: 61ac8f2d1d..4385bc0c51
* src/third_party: 016e5f550e..1cf0bb3e29
* src/third_party/catapult: c46500e9c5..67894d267d
* src/tools: 6a2ad46b3b..a8abdfc29f
DEPS diff: e052a49fd7..ae8025b865/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2849693002
Cr-Commit-Position: refs/heads/master@{#17916}
2017-04-27 22:27:10 +00:00
37adc5e81e Reland of Support adding and removing MediaRecorder to camera 2 session. (patchset #1 id:1 of https://codereview.webrtc.org/2844233002/ )
Reason for revert:
Revert "Revert of Support adding and removing MediaRecorder to camera 2 session. (patchset #5 id:80001 of https://codereview.webrtc.org/2833773003/ )"

Will fix external bots by cherry picking this CL and updating external functions which depend on CameraVideoCapturer interface

Original issue's description:
> 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}
> Committed: 6702739862

TBR=sakal@webrtc.org,magjed@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/2844393002
Cr-Commit-Position: refs/heads/master@{#17915}
2017-04-27 20:38:29 +00:00
f0736b16f4 Roll chromium_revision 487f817332..e052a49fd7 (467696:467736)
Change log: 487f817332..e052a49fd7
Full diff: 487f817332..e052a49fd7

Changed dependencies:
* src/base: 908b9aa7b6..8cc4c16e5a
* src/build: 681278b9f0..24b506bc33
* src/ios: 720686ddae..61ac8f2d1d
* src/third_party: c96b95baf9..016e5f550e
* src/third_party/gtest-parallel: 1da215f21b..5af9d383bc
* src/tools: 0dbf918e5d..6a2ad46b3b
DEPS diff: 487f817332..e052a49fd7/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2839403003
Cr-Commit-Position: refs/heads/master@{#17914}
2017-04-27 20:09:51 +00:00
9452c62f28 Hiding problematic targets from chromium
Targets that depend on //third_party/gflags are problematic in
chromium because it does not use gflags and if a target depends on
any target in //webrtc/test/BUILD.gn then GN will try to parse the
BUILD.gn file. Gn is eager in this phase of the build files generation
and if a target is not buildable it will complain.

In chromium obviously all the targets that depend on
//third_party/gflags are not buildable.

To be able to enable 'gn check' on the webrtc/base and
webrtc/test directories we have to hide them from chromium.

BUG=webrtc:6828
NOTRY=True

Review-Url: https://codereview.webrtc.org/2845063002
Cr-Commit-Position: refs/heads/master@{#17913}
2017-04-27 19:29:29 +00:00
ec3f538bf5 Roll chromium_revision ee09af07ab..487f817332 (467650:467696)
Change log: ee09af07ab..487f817332
Full diff: ee09af07ab..487f817332

Changed dependencies:
* src/base: b9d8077ea9..908b9aa7b6
* src/build: 7c160a8fdd..681278b9f0
* src/ios: 3a45235579..720686ddae
* src/third_party: 3c7123e728..c96b95baf9
* src/third_party/catapult: 8062a5765b..c46500e9c5
* src/tools: 5ffaea44c6..0dbf918e5d
DEPS diff: ee09af07ab..487f817332/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2850563002
Cr-Commit-Position: refs/heads/master@{#17912}
2017-04-27 16:26:57 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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