Commit Graph

17373 Commits

Author SHA1 Message Date
12a467ffca Roll chromium_revision 6f9127a09a..321e67522e (468222:468228)
Change log: 6f9127a09a..321e67522e
Full diff: 6f9127a09a..321e67522e

Changed dependencies:
* src/third_party: eb258a4ef8..959b0bd519
* src/third_party/catapult: fa1d11d053..1c3f4b9217
* src/tools: dc23ea067f..d573f78a32
DEPS diff: 6f9127a09a..321e67522e/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2851043002
Cr-Commit-Position: refs/heads/master@{#17941}
2017-04-29 07:13:34 +00:00
81ec592b64 Roll chromium_revision b416391e0a..6f9127a09a (468198:468222)
Change log: b416391e0a..6f9127a09a
Full diff: b416391e0a..6f9127a09a

Changed dependencies:
* src/base: b989bd1458..3ec90df7cf
* src/build: 23ab15d13e..853f22fc61
* src/third_party: 10fdbbd967..eb258a4ef8
* src/tools: cec732b51f..dc23ea067f
DEPS diff: b416391e0a..6f9127a09a/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2853683002
Cr-Commit-Position: refs/heads/master@{#17940}
2017-04-29 04:07:15 +00:00
9e1c527b40 Roll chromium_revision 28867910b5..b416391e0a (468153:468198)
Change log: 28867910b5..b416391e0a
Full diff: 28867910b5..b416391e0a

Changed dependencies:
* src/base: 82d75227c1..b989bd1458
* src/testing: e8c96d8c86..762ed82b67
* src/third_party: 695d5f4b18..10fdbbd967
* src/tools: 72a39f4422..cec732b51f
DEPS diff: 28867910b5..b416391e0a/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2849943003
Cr-Commit-Position: refs/heads/master@{#17939}
2017-04-29 01:10:28 +00:00
419c742715 Allow Windows to return a monitor out of the first quadrant
Windows may return a DesktopCoordinate out of the first quadrant
(x >= 0 && y >= 0), this typically happens when the primary and secondary
monitors are swapped. i.e. The secondary monitor is on the left but the primary
one is on the right.
This change "moves" the entire screen from any quadrant to the (0, 0), so we can
capture the monitors in other quadrants.

BUG=chromium:715689

Review-Url: https://codereview.webrtc.org/2848443004
Cr-Original-Commit-Position: refs/heads/master@{#17935}
Committed: 049ec71e65
Review-Url: https://codereview.webrtc.org/2848443004
Cr-Commit-Position: refs/heads/master@{#17938}
2017-04-28 23:08:20 +00:00
23c65b6a19 Roll chromium_revision ce7ea8b138..28867910b5 (468075:468153)
Change log: ce7ea8b138..28867910b5
Full diff: ce7ea8b138..28867910b5

Changed dependencies:
* src/base: 955bd2a43a..82d75227c1
* src/build: 4f20590cbe..23ab15d13e
* src/ios: 497dec7d78..1b9d8daed0
* src/third_party: b48448332b..695d5f4b18
* src/third_party/catapult: 5fa840e82c..fa1d11d053
* src/third_party/libyuv: fc02cc3806..3b583396bf
* src/tools: e1412815f6..72a39f4422
DEPS diff: ce7ea8b138..28867910b5/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2847293002
Cr-Commit-Position: refs/heads/master@{#17937}
2017-04-28 22:37:14 +00:00
7aea6afdab Revert of Allow Windows to return a monitor out of the first quadrant (patchset #2 id:60001 of https://codereview.chromium.org/2848443004/ )
Reason for revert:
TranslateRect() is placed in a wrong position.

Original issue's description:
> Allow Windows to return a monitor out of the first quadrant
>
> Windows may return a DesktopCoordinate out of the first quadrant
> (x >= 0 && y >= 0), this typically happens when the primary and secondary
> monitors are swapped. i.e. The secondary monitor is on the left but the primary
> one is on the right.
> This change "moves" the entire screen from any quadrant to the (0, 0), so we can
> capture the monitors in other quadrants.
>
> BUG=chromium:715689
>
> Review-Url: https://codereview.webrtc.org/2848443004
> Cr-Commit-Position: refs/heads/master@{#17935}
> Committed: 049ec71e65

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

Review-Url: https://codereview.webrtc.org/2852783002
Cr-Commit-Position: refs/heads/master@{#17936}
2017-04-28 21:30:56 +00:00
049ec71e65 Allow Windows to return a monitor out of the first quadrant
Windows may return a DesktopCoordinate out of the first quadrant
(x >= 0 && y >= 0), this typically happens when the primary and secondary
monitors are swapped. i.e. The secondary monitor is on the left but the primary
one is on the right.
This change "moves" the entire screen from any quadrant to the (0, 0), so we can
capture the monitors in other quadrants.

BUG=chromium:715689

Review-Url: https://codereview.webrtc.org/2848443004
Cr-Commit-Position: refs/heads/master@{#17935}
2017-04-28 20:43:28 +00:00
281aecdca6 Roll chromium_revision d6d85694bd..ce7ea8b138 (468014:468075)
Change log: d6d85694bd..ce7ea8b138
Full diff: d6d85694bd..ce7ea8b138

Changed dependencies:
* src/base: 8d716e0c1f..955bd2a43a
* src/build: 02044bf86a..4f20590cbe
* src/ios: 4306eb8f26..497dec7d78
* src/third_party: 00ba8abfb1..b48448332b
* src/tools: a9b7bf6d33..e1412815f6
DEPS diff: d6d85694bd..ce7ea8b138/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2848823003
Cr-Commit-Position: refs/heads/master@{#17934}
2017-04-28 19:13:34 +00:00
d638954152 Roll chromium_revision 8f67705094..d6d85694bd (467946:468014)
Change log: 8f67705094..d6d85694bd
Full diff: 8f67705094..d6d85694bd

Changed dependencies:
* src/base: 93f3cd4407..8d716e0c1f
* src/ios: 0553e28977..4306eb8f26
* src/testing: de9f733ce3..e8c96d8c86
* src/third_party: 55a04a606e..00ba8abfb1
* src/third_party/catapult: 778079b344..5fa840e82c
* src/tools: d696949400..a9b7bf6d33
DEPS diff: 8f67705094..d6d85694bd/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2852743002
Cr-Commit-Position: refs/heads/master@{#17933}
2017-04-28 16:08:19 +00:00
ee37e86de8 Create tool to print statistics about the file size usage of an RTC event log.
BUG=webrtc:7502

Review-Url: https://codereview.webrtc.org/2717553004
Cr-Commit-Position: refs/heads/master@{#17932}
2017-04-28 14:48:17 +00:00
0d6195dd15 Hooked up Opus CBR support when configured manually or through an SdpAudioFormat.
BUG=webrtc:7394

Review-Url: https://codereview.webrtc.org/2798403003
Cr-Commit-Position: refs/heads/master@{#17931}
2017-04-28 14:33:18 +00:00
eb44b39a21 Delete RawVideoType enum, use the VideoType enum instead.
BUG=webrtc:7385

Review-Url: https://codereview.webrtc.org/2765243002
Cr-Commit-Position: refs/heads/master@{#17930}
2017-04-28 14:18:05 +00:00
aec49d2b49 Revert of Delete deprecated and transitional stuff related to video frame refactoring. (patchset #17 id:320001 of https://codereview.webrtc.org/2622263002/ )
Reason for revert:
Broke Chrome build, see, e.g.,
http://build.chromium.org/p/chromium.webrtc.fyi/builders/Linux%20Builder/builds/16237

Original issue's description:
> Delete deprecated and transitional stuff related to video frame refactoring.
>
> BUG=webrtc:5880
>
> Review-Url: https://codereview.webrtc.org/2622263002
> Cr-Commit-Position: refs/heads/master@{#17928}
> Committed: 713a3bbcc7

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

Review-Url: https://codereview.webrtc.org/2845333002
Cr-Commit-Position: refs/heads/master@{#17929}
2017-04-28 13:03:40 +00:00
713a3bbcc7 Delete deprecated and transitional stuff related to video frame refactoring.
BUG=webrtc:5880

Review-Url: https://codereview.webrtc.org/2622263002
Cr-Commit-Position: refs/heads/master@{#17928}
2017-04-28 12:43:20 +00:00
148d5a2dca Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
Reason for revert:
Fourth attempt to land.

Waiting for https://codereview.webrtc.org/2845013003 to
avoid conflicts on webrtc/modules/audio_coding:neteq_unittest_tools.

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
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6828, webrtc:3806, webrtc:7480

Review-Url: https://codereview.webrtc.org/2852663002
Cr-Commit-Position: refs/heads/master@{#17927}
2017-04-28 12:24:50 +00:00
5e82c87d23 Roll chromium_revision 7d57a8fa0d..8f67705094 (467919:467946)
Change log: 7d57a8fa0d..8f67705094
Full diff: 7d57a8fa0d..8f67705094

Changed dependencies:
* src/ios: 468200325f..0553e28977
* src/testing: d62e5167d6..de9f733ce3
* src/third_party: 62d592853b..55a04a606e
DEPS diff: 7d57a8fa0d..8f67705094/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2846763006
Cr-Commit-Position: refs/heads/master@{#17926}
2017-04-28 10:42:52 +00:00
f684269541 Reject re-inserting already decoded frames into FrameBuffer2.
BUG=webrtc:7518

Review-Url: https://codereview.webrtc.org/2842133002
Cr-Commit-Position: refs/heads/master@{#17925}
2017-04-28 10:29:15 +00:00
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