Commit Graph

17126 Commits

Author SHA1 Message Date
14b86d3864 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}
2017-04-24 15:44:14 +00:00
70c09bde41 Reland of Change NetEq::InsertPacket to take an RTPHeader (patchset #1 id:1 of https://codereview.webrtc.org/2812933002/ )
Reason for revert:
Downstream roadblock should be cleared by now. Relanding original patch.

Original issue's description:
> Revert of Change NetEq::InsertPacket to take an RTPHeader (patchset #2 id:20001 of https://codereview.webrtc.org/2807273004/ )
>
> Reason for revert:
> Broke downstream dependencies.
>
> Original issue's description:
> > Change NetEq::InsertPacket to take an RTPHeader
> >
> > It used to take a WebRtcRTPHeader as input, which has an RTPHeader as
> > a member. None of the other member in WebRtcRTPHeader where used in
> > NetEq.
> >
> > This CL adapts the production code; tests and tools will be converted
> > in a follow-up CL.
> >
> > BUG=webrtc:7467
> >
> > Review-Url: https://codereview.webrtc.org/2807273004
> > Cr-Commit-Position: refs/heads/master@{#17652}
> > Committed: 4d027576a6
>
> TBR=ivoc@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7467
>
> Review-Url: https://codereview.webrtc.org/2812933002
> Cr-Commit-Position: refs/heads/master@{#17657}
> Committed: 10d095d4f7

R=ivoc@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_rel_ng
BUG=webrtc:7467

Review-Url: https://codereview.webrtc.org/2835093002 .
Cr-Commit-Position: refs/heads/master@{#17843}
2017-04-24 13:56:57 +00:00
7a7b3361d0 Landmine to clobber due to Win linking errors
In CL https://codereview.webrtc.org/2832063003/ we have seen this problem:

fatal error LNK1106: invalid file or disk full: cannot seek to 0x4065E16C

Using landmines seems to be the only way to fix in this moment:
https://bugs.chromium.org/p/chromium/issues/detail?id=615050

BUG=None

Review-Url: https://codereview.webrtc.org/2835113003
Cr-Commit-Position: refs/heads/master@{#17842}
2017-04-24 13:31:33 +00:00
ee7b336d62 Roll chromium_revision f060084415..3323cb816a (466612:466620)
Change log: f060084415..3323cb816a
Full diff: f060084415..3323cb816a

Changed dependencies:
* src/ios: 37802167b3..5d380920c0
* src/third_party: 50155e44ce..af8892ebe8
DEPS diff: f060084415..3323cb816a/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2841563002
Cr-Commit-Position: refs/heads/master@{#17841}
2017-04-24 13:17:57 +00:00
cae45d0469 Move RtpTransportControllerSend to a new file.
Also move RtpTransportControllerSendInterface to its own header file.

BUG=webrtc:7135

Review-Url: https://codereview.webrtc.org/2808043002
Cr-Commit-Position: refs/heads/master@{#17840}
2017-04-24 12:53:20 +00:00
a244ec659d Add content type extension to capabilities
BUG=webrtc:7420

Review-Url: https://codereview.webrtc.org/2817553004
Cr-Commit-Position: refs/heads/master@{#17839}
2017-04-24 12:12:35 +00:00
30cda5ef98 Espresso test for loopback video quality testing
Update the AppRTCMobileTestStubbedVideoIO test to run on
phones without Internet connection. This is done by bringing up
a local instance of AppRTC on the Linux machine connected to
the Android device.

Running this test will need the webrtc.DEPS solution to be configured
for the checkout, since that will pull down the precompiled AppRTC
package that is needed.

Continued from http://crrev.com/2780493002#ps20001 (by kjellander@)
Continued from http://crrev.com/2741743002#ps180001 (by mandermo@)

BUG=webrtc:7185

Review-Url: https://codereview.webrtc.org/2825313002
Cr-Commit-Position: refs/heads/master@{#17838}
2017-04-24 11:15:13 +00:00
828a6e1f01 Roll chromium_revision c6d7406702..f060084415 (466592:466612)
Change log: c6d7406702..f060084415
Full diff: c6d7406702..f060084415

Changed dependencies:
* src/ios: a891e90658..37802167b3
* src/testing: cccdd7be52..c02d0680b8
* src/third_party: 6258a9a43c..50155e44ce
* src/third_party/gtest-parallel: 7eb02a6415..1da215f21b
DEPS diff: c6d7406702..f060084415/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2839603002
Cr-Commit-Position: refs/heads/master@{#17837}
2017-04-24 10:09:36 +00:00
c097710cce Reland of GN: Enable ARC for Mac and iOS in rtc_* templates (patchset #1 id:1 of https://codereview.webrtc.org/2827223003/ )
Reason for revert:
Relanding after fixing ARC issue.

Original issue's description:
> Revert of GN: Enable ARC for Mac and iOS in rtc_* templates (patchset #3 id:40001 of https://codereview.webrtc.org/2781713004/ )
>
> Reason for revert:
> Breaks mac build
>
> Original issue's description:
> > GN: Enable ARC for Mac and iOS in rtc_* templates
> >
> > Remove all uses of retain/release and NSAutoreleasePool.
> >
> > This makes transformation to Bazel easier.
> >
> > This CL subsumes https://codereview.webrtc.org/2778163002 and depends on https://codereview.webrtc.org/2784483002/
> >
> > BUG=webrtc:6412
> >
> > Review-Url: https://codereview.webrtc.org/2781713004
> > Cr-Commit-Position: refs/heads/master@{#17780}
> > Committed: 6bda02b51d
>
> TBR=kjellander@webrtc.org,magjed@webrtc.org,stefan@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6412
>
> Review-Url: https://codereview.webrtc.org/2827223003
> Cr-Commit-Position: refs/heads/master@{#17784}
> Committed: 7c8786ae8f

TBR=kjellander@webrtc.org,magjed@webrtc.org,stefan@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6412

Review-Url: https://codereview.webrtc.org/2834273002
Cr-Commit-Position: refs/heads/master@{#17836}
2017-04-24 07:57:16 +00:00
0f109beb38 Fixing check for when overlap-add is not 1 ms
BUG=chromium:710812

Review-Url: https://codereview.webrtc.org/2814363002
Cr-Commit-Position: refs/heads/master@{#17835}
2017-04-24 07:22:05 +00:00
b7ed09f4f4 Roll chromium_revision a71233486e..c6d7406702 (466585:466592)
Change log: a71233486e..c6d7406702
Full diff: a71233486e..c6d7406702

Changed dependencies:
* src/third_party: 2664465c50..6258a9a43c
DEPS diff: a71233486e..c6d7406702/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2834363002
Cr-Commit-Position: refs/heads/master@{#17834}
2017-04-24 07:08:25 +00:00
06863c9ce5 Add TimestampUnwrapper and generalize the code
BUG=webrtc:7467
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_rel_ng;master.tryserver.chromium.mac:mac_chromium_rel_ng,ios-device;master.tryserver.chromium.win:win_chromium_rel_ng;master.tryserver.chromium.android:android_compile_dbg,linux_android_rel_ng

Review-Url: https://codereview.webrtc.org/2813593003
Cr-Commit-Position: refs/heads/master@{#17833}
2017-04-24 06:54:13 +00:00
25ab4b2a58 Roll chromium_revision 5d44f961b1..a71233486e (466571:466585)
Change log: 5d44f961b1..a71233486e
Full diff: 5d44f961b1..a71233486e

Changed dependencies:
* src/third_party: 46394be033..2664465c50
DEPS diff: 5d44f961b1..a71233486e/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2832423002
Cr-Commit-Position: refs/heads/master@{#17832}
2017-04-24 04:08:12 +00:00
5cd789e992 Roll chromium_revision 47d7aae767..5d44f961b1 (466568:466571)
Change log: 47d7aae767..5d44f961b1
Full diff: 47d7aae767..5d44f961b1

Changed dependencies:
* src/third_party: ab0f6f4c76..46394be033
DEPS diff: 47d7aae767..5d44f961b1/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2840453002
Cr-Commit-Position: refs/heads/master@{#17831}
2017-04-24 01:07:54 +00:00
f30472245c Roll chromium_revision 81c2c04d0c..47d7aae767 (466567:466568)
Change log: 81c2c04d0c..47d7aae767
Full diff: 81c2c04d0c..47d7aae767

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2833293002
Cr-Commit-Position: refs/heads/master@{#17830}
2017-04-23 22:09:48 +00:00
a0de9dcfac Roll chromium_revision a3eecd718f..81c2c04d0c (466563:466567)
Change log: a3eecd718f..81c2c04d0c
Full diff: a3eecd718f..81c2c04d0c

Changed dependencies:
* src/ios: 57aba0c1a2..a891e90658
* src/testing: b60eba177e..cccdd7be52
* src/third_party: 76e0e84c82..ab0f6f4c76
* src/tools: 26c7fd476f..ca8ceac069
DEPS diff: a3eecd718f..81c2c04d0c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2839523002
Cr-Commit-Position: refs/heads/master@{#17829}
2017-04-23 19:13:20 +00:00
7785ee9125 Roll chromium_revision afcc086a9f..a3eecd718f (466562:466563)
Change log: afcc086a9f..a3eecd718f
Full diff: afcc086a9f..a3eecd718f

Changed dependencies:
* src/ios: 1e328f96f5..57aba0c1a2
DEPS diff: afcc086a9f..a3eecd718f/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2835043002
Cr-Commit-Position: refs/heads/master@{#17828}
2017-04-23 16:10:42 +00:00
b337862536 Roll chromium_revision ab2af66bdb..afcc086a9f (466558:466562)
Change log: ab2af66bdb..afcc086a9f
Full diff: ab2af66bdb..afcc086a9f

Changed dependencies:
* src/base: 14a04c0168..bf77077bed
* src/third_party: b25d5cb864..76e0e84c82
* src/tools: 818a0d4adb..26c7fd476f
DEPS diff: ab2af66bdb..afcc086a9f/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2835863002
Cr-Commit-Position: refs/heads/master@{#17827}
2017-04-23 13:10:38 +00:00
9e117c5ef9 Roll chromium_revision 8aa7a4e1cf..ab2af66bdb (466554:466558)
Change log: 8aa7a4e1cf..ab2af66bdb
Full diff: 8aa7a4e1cf..ab2af66bdb

Changed dependencies:
* src/third_party: 2cbe1f8322..b25d5cb864
DEPS diff: 8aa7a4e1cf..ab2af66bdb/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2835853002
Cr-Commit-Position: refs/heads/master@{#17826}
2017-04-23 07:09:37 +00:00
029f6b392d Roll chromium_revision a9e14964b0..8aa7a4e1cf (466553:466554)
Change log: a9e14964b0..8aa7a4e1cf
Full diff: a9e14964b0..8aa7a4e1cf

Changed dependencies:
* src/ios: 0b32be94e2..1e328f96f5
DEPS diff: a9e14964b0..8aa7a4e1cf/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2839493002
Cr-Commit-Position: refs/heads/master@{#17825}
2017-04-23 04:22:05 +00:00
efbf25346d Roll chromium_revision 0c9b906033..a9e14964b0 (466552:466553)
Change log: 0c9b906033..a9e14964b0
Full diff: 0c9b906033..a9e14964b0

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2836803002
Cr-Commit-Position: refs/heads/master@{#17824}
2017-04-23 01:13:00 +00:00
7e37440ed7 Roll chromium_revision a9d5d30b3d..0c9b906033 (466538:466552)
Change log: a9d5d30b3d..0c9b906033
Full diff: a9d5d30b3d..0c9b906033

Changed dependencies:
* src/ios: b93779b9f3..0b32be94e2
* src/third_party: ac7b87ba0c..2cbe1f8322
DEPS diff: a9d5d30b3d..0c9b906033/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2834283002
Cr-Commit-Position: refs/heads/master@{#17823}
2017-04-22 22:09:36 +00:00
7a93e2eb8a Roll chromium_revision 01f3a59562..a9d5d30b3d (466537:466538)
Change log: 01f3a59562..a9d5d30b3d
Full diff: 01f3a59562..a9d5d30b3d

Changed dependencies:
* src/build: c8eb68f4d4..4636d31671
DEPS diff: 01f3a59562..a9d5d30b3d/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2838463002
Cr-Commit-Position: refs/heads/master@{#17822}
2017-04-22 19:13:26 +00:00
fd68d65dbb Roll chromium_revision bda3d48716..01f3a59562 (466534:466537)
Change log: bda3d48716..01f3a59562
Full diff: bda3d48716..01f3a59562

Changed dependencies:
* src/build: e3e598a0a6..c8eb68f4d4
* src/tools: e9f91c3ef9..818a0d4adb
DEPS diff: bda3d48716..01f3a59562/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2829223006
Cr-Commit-Position: refs/heads/master@{#17821}
2017-04-22 07:08:40 +00:00
455ed97f2e Roll chromium_revision c9d557eb3f..bda3d48716 (466514:466534)
Change log: c9d557eb3f..bda3d48716
Full diff: c9d557eb3f..bda3d48716

Changed dependencies:
* src/ios: a3cbb26b4e..b93779b9f3
* src/third_party: 44b9a727b3..ac7b87ba0c
* src/third_party/catapult: b5b525957f..4d4343808a
* src/tools: 07bb84a32f..e9f91c3ef9
DEPS diff: c9d557eb3f..bda3d48716/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2839473002
Cr-Commit-Position: refs/heads/master@{#17820}
2017-04-22 04:09:43 +00:00
a4e9a0029d Roll chromium_revision 5903b9808c..c9d557eb3f (466462:466514)
Change log: 5903b9808c..c9d557eb3f
Full diff: 5903b9808c..c9d557eb3f

Changed dependencies:
* src/base: aa4be44d37..14a04c0168
* src/build: 9d4c4b5910..e3e598a0a6
* src/ios: 1d9b35f294..a3cbb26b4e
* src/testing: 3e3e1540f6..b60eba177e
* src/third_party: a9a238a1e4..44b9a727b3
* src/third_party/catapult: cf5379cbc7..b5b525957f
* src/tools: 3e509893fe..07bb84a32f
DEPS diff: 5903b9808c..c9d557eb3f/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2834953002
Cr-Commit-Position: refs/heads/master@{#17819}
2017-04-22 01:10:21 +00:00
c06067f110 Roll chromium_revision 7a0ea22536..5903b9808c (466400:466462)
Change log: 7a0ea22536..5903b9808c
Full diff: 7a0ea22536..5903b9808c

Changed dependencies:
* src/base: 1f2e196021..aa4be44d37
* src/build: 45efa92cd4..9d4c4b5910
* src/ios: 2351a74a65..1d9b35f294
* src/testing: 721a9286cb..3e3e1540f6
* src/third_party: b3eed46c30..a9a238a1e4
* src/third_party/catapult: 34ee837777..cf5379cbc7
* src/tools: 430bc60008..3e509893fe
DEPS diff: 7a0ea22536..5903b9808c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2830423002
Cr-Commit-Position: refs/heads/master@{#17818}
2017-04-21 22:35:39 +00:00
0687829794 Fixing SignalSentPacket for TCP connections.
The signal was only being hooked up for incoming connections, not
outgoing connections.

As a result, the bandwidth estimator didn't know when packets were sent
and couldn't calculate delays.

BUG=webrtc:7509

Review-Url: https://codereview.webrtc.org/2834083002
Cr-Commit-Position: refs/heads/master@{#17817}
2017-04-21 21:22:23 +00:00
f84c1d6644 Don't call unconfigureWebRTCSession if configureWebRTCSession fails.
Otherwise, the activeCount will become negative.

BUG=webrtc:7471

Review-Url: https://codereview.webrtc.org/2822233002
Cr-Commit-Position: refs/heads/master@{#17816}
2017-04-21 20:56:39 +00:00
99cdcb6dea Roll chromium_revision 6e1f3c35d3..7a0ea22536 (466349:466400)
Change log: 6e1f3c35d3..7a0ea22536
Full diff: 6e1f3c35d3..7a0ea22536

Changed dependencies:
* src/base: b70eadacac..1f2e196021
* src/build: ff3857b96f..45efa92cd4
* src/ios: e5d1e71e57..2351a74a65
* src/third_party: 176b321948..b3eed46c30
* src/tools: 2bbb746064..430bc60008
DEPS diff: 6e1f3c35d3..7a0ea22536/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2829903005
Cr-Commit-Position: refs/heads/master@{#17815}
2017-04-21 19:13:01 +00:00
1c843c4b59 Roll chromium_revision 377f6d9ede..6e1f3c35d3 (466319:466349)
Change log: 377f6d9ede..6e1f3c35d3
Full diff: 377f6d9ede..6e1f3c35d3

Changed dependencies:
* src/base: 2b183fe48b..b70eadacac
* src/ios: 101b59a7d5..e5d1e71e57
* src/testing: 67c977a62b..721a9286cb
* src/third_party: e8c0b4c133..176b321948
* src/tools: fccf1d9c7b..2bbb746064
DEPS diff: 377f6d9ede..6e1f3c35d3/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2837453003
Cr-Commit-Position: refs/heads/master@{#17814}
2017-04-21 16:12:34 +00:00
86d22f75ae Roll chromium_revision 8e61fecd6a..377f6d9ede (466303:466319)
Change log: 8e61fecd6a..377f6d9ede
Full diff: 8e61fecd6a..377f6d9ede

Changed dependencies:
* src/ios: 3cc6a1a355..101b59a7d5
* src/third_party: 7c77c907ce..e8c0b4c133
* src/tools: 1bb22b28fa..fccf1d9c7b
DEPS diff: 8e61fecd6a..377f6d9ede/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2834043002
Cr-Commit-Position: refs/heads/master@{#17813}
2017-04-21 13:21:06 +00:00
8a11663219 Enable GN check for webrtc/{p2p,system_wrappers}
Introduce new small header-only targets in system_wrappers:
:cpu_features_api
:field_trial_api
:metrics_api
to untangle and optimize dependencies but still satisfy GN check.

In webrtc/p2p, previously uncovered header "base/fakecandidatepair.h"
is added to :p2p_test_utils target.

Refactor system_wrappers so 'rtc_p2p' can depend on only
system_wrappers:field_trial_api instead of all of system_wrappers
(which led to a breakage in Chromium that called for the revert of
https://codereview.webrtc.org/2735583002).

BUG=webrtc:6828
NOTRY=True

Review-Url: https://codereview.webrtc.org/2739863002
Cr-Commit-Position: refs/heads/master@{#17812}
2017-04-21 12:17:08 +00:00
9a660ce9dc Roll chromium_revision 375a20a84a..8e61fecd6a (466275:466303)
Change log: 375a20a84a..8e61fecd6a
Full diff: 375a20a84a..8e61fecd6a

Changed dependencies:
* src/base: 25a6662f9f..2b183fe48b
* src/ios: 11671aa5e3..3cc6a1a355
* src/testing: 9ffa285165..67c977a62b
* src/third_party: d3014af075..7c77c907ce
* src/tools: 976acba3ac..1bb22b28fa
DEPS diff: 375a20a84a..8e61fecd6a/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2832953003
Cr-Commit-Position: refs/heads/master@{#17811}
2017-04-21 10:47:20 +00:00
7914b8cb41 Negotiate the same SRTP crypto suites for every DTLS association formed.
Before this CL, we would negotiate:
- No crypto suites for data m= sections.
- A full set for audio m= sections.
- The full set, minus SRTP_AES128_CM_SHA1_32 for video m= sections.

However, this doesn't make sense with BUNDLE, since any DTLS
association could end up being used for any type of media. If
video is "bundled on" the audio transport (which is typical), it
will actually end up using SRTP_AES128_CM_SHA1_32.

So, this CL moves the responsibility of deciding SRTP crypto suites out
of BaseChannel and into DtlsTransport. The only two possibilities are
now "normal set" or "normal set + GCM", if enabled by the PC factory
options.

This fixes an issue (see linked bug) that was occurring when audio/video
were "bundled onto" the data transport. Since the data transport
wasn't negotiating any SRTP crypto suites, none were available to use
for audio/video, so the application would get black video/no audio.

This CL doesn't affect the SDES SRTP crypto suite negotiation;
it only affects the negotiation in the DLTS handshake, through
the use_srtp extension.

BUG=chromium:711243

Review-Url: https://codereview.webrtc.org/2815513012
Cr-Commit-Position: refs/heads/master@{#17810}
2017-04-21 10:23:33 +00:00
30952b460f Add "ice-option:trickle" to generated offers/answers.
BUG=webrtc:7443

Review-Url: https://codereview.webrtc.org/2808913003
Cr-Commit-Position: refs/heads/master@{#17809}
2017-04-21 09:41:29 +00:00
d0de295119 Only increment scale counter and adaptation stats (and store last_adaptation_request_) if sink_wants_ is updated.
BUG=webrtc:7492

Review-Url: https://codereview.webrtc.org/2800403002
Cr-Commit-Position: refs/heads/master@{#17808}
2017-04-21 08:47:31 +00:00
b04646f38b Android: Prepare moving EglBase10/EglBase14 from to API to src
BUG=webrtc:7172

Review-Url: https://codereview.webrtc.org/2826063002
Cr-Commit-Position: refs/heads/master@{#17807}
2017-04-21 08:34:12 +00:00
953f82c422 Roll chromium_revision 91ba4c58f3..375a20a84a (466250:466275)
Change log: 91ba4c58f3..375a20a84a
Full diff: 91ba4c58f3..375a20a84a

Changed dependencies:
* src/ios: b49c55ef4d..11671aa5e3
* src/third_party: 7882302476..d3014af075
* src/tools: a2a21e4d7b..976acba3ac
DEPS diff: 91ba4c58f3..375a20a84a/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2835623002
Cr-Commit-Position: refs/heads/master@{#17806}
2017-04-21 07:14:01 +00:00
1e060c6b0c Enabling 'gn check' on webrtc/sdk
BUG=webrtc:7499

Review-Url: https://codereview.webrtc.org/2818433003
Cr-Commit-Position: refs/heads/master@{#17805}
2017-04-21 07:02:02 +00:00
bf34b23ab5 Roll chromium_revision 822449eabd..91ba4c58f3 (466203:466250)
Change log: 822449eabd..91ba4c58f3
Full diff: 822449eabd..91ba4c58f3

Changed dependencies:
* src/build: d30df16423..ff3857b96f
* src/third_party: 5a10584d40..7882302476
* src/tools: 98c3dedd08..a2a21e4d7b
DEPS diff: 822449eabd..91ba4c58f3/DEPS

Clang version changed 299960:300839
Details: 822449eabd..91ba4c58f3/tools/clang/scripts/update.py

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2832143002
Cr-Commit-Position: refs/heads/master@{#17804}
2017-04-21 04:13:08 +00:00
3bc15103ae Fix RtpReceiver.GetParameters when SSRCs aren't signaled.
When SSRCs aren't signaled, an SSRC of 0 is used internally to mean
"the default receive stream". But this wasn't working with the
implementation of GetRtpReceiveParameters in the audio/video
engines. This was breaking RtpReceiver.GetParameters in this situation,
as well as the new getStats implementation (which relies on
GetParameters).

The new implementation will fail if *no* default receive stream is
configured (meaning no default sink is set), and otherwise will return
a default RtpEncodingParameters (later it will be filled with relevant
SDP parameters as they're implemented).

BUG=webrtc:6971

Review-Url: https://codereview.webrtc.org/2806173002
Cr-Commit-Position: refs/heads/master@{#17803}
2017-04-21 02:25:07 +00:00
f96439a5da Roll chromium_revision 6a4bbc741c..822449eabd (466150:466203)
Change log: 6a4bbc741c..822449eabd
Full diff: 6a4bbc741c..822449eabd

Changed dependencies:
* src/base: 7c9da3979d..25a6662f9f
* src/build: b835b26ddf..d30df16423
* src/ios: a5dd32ba09..b49c55ef4d
* src/testing: d4586f57d5..9ffa285165
* src/third_party: 0b1b946302..5a10584d40
* src/tools: e2fefb7c90..98c3dedd08
DEPS diff: 6a4bbc741c..822449eabd/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2833943002
Cr-Commit-Position: refs/heads/master@{#17802}
2017-04-21 01:07:07 +00:00
dc99597966 Roll chromium_revision 71c16b98c6..6a4bbc741c (466085:466150)
Change log: 71c16b98c6..6a4bbc741c
Full diff: 71c16b98c6..6a4bbc741c

Changed dependencies:
* src/base: 32a172d6f0..7c9da3979d
* src/ios: 8bbafb081d..a5dd32ba09
* src/testing: daa9534303..d4586f57d5
* src/third_party: 4860e7138e..0b1b946302
* src/tools: 54be39efcd..e2fefb7c90
DEPS diff: 71c16b98c6..6a4bbc741c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2837433002
Cr-Commit-Position: refs/heads/master@{#17801}
2017-04-20 22:22:07 +00:00
a1fa491334 Fix invalid output buffer usage
This patch fixes the internal AudioCoder output buffer setting to be set
prior it will be used within callback from ACM

BUG=webrtc:7462

Review-Url: https://codereview.webrtc.org/2806933002
Cr-Commit-Position: refs/heads/master@{#17800}
2017-04-20 22:19:10 +00:00
d41af462fb This change fixes a crash issue in WindowCapturerWin. The issue and fix are both
obvious, WindowCapturerWin should not return Result::SUCCESS with an empty
frame.
This issue was original introduced into the code base in change
https://codereview.webrtc.org/1988783003/.

I am also considering whether we should move the
previous_size_ = frame->size();
window_size_map_[window_] = previous_size_;
into the true branch. But since this change needs to be merged into M58 and M59,
I would prefer to keep it as small as possible.

BUG=712615

Review-Url: https://codereview.webrtc.org/2835553002
Cr-Commit-Position: refs/heads/master@{#17799}
2017-04-20 21:53:36 +00:00
d07061c9f3 Add comments about PeerConnection::Close and PeerConnectionObserver.
Documenting that the observer can safely be destroyed after Close has
been called, because it ensures no more callbacks will be invoked. Just
like in JavaScript land, where no more events will be fired after
"close" is called.

This is already covered by unit tests.

BUG=webrtc:7491
NOTRY=True
TBR=pthatcher@webrtc.org

Review-Url: https://codereview.webrtc.org/2834543005
Cr-Commit-Position: refs/heads/master@{#17798}
2017-04-20 20:19:00 +00:00
492c09fe59 Don't make a top-level namespace called "voetest"
We shouldn't pollute the global namespace.

BUG=webrtc:7484

Review-Url: https://codereview.webrtc.org/2813373002
Cr-Commit-Position: refs/heads/master@{#17797}
2017-04-20 20:17:52 +00:00
6b175abbee Roll chromium_revision de031ea2c4..71c16b98c6 (466026:466085)
Change log: de031ea2c4..71c16b98c6
Full diff: de031ea2c4..71c16b98c6

Changed dependencies:
* src/base: 9396477fb5..32a172d6f0
* src/build: 3f3d1e1cf5..b835b26ddf
* src/ios: ec5941df7e..8bbafb081d
* src/third_party: 2e3961b5dd..4860e7138e
* src/tools: ce8e48ba2e..54be39efcd
DEPS diff: de031ea2c4..71c16b98c6/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2827413002
Cr-Commit-Position: refs/heads/master@{#17796}
2017-04-20 19:21:38 +00:00
cf5753df77 Merge ScreenCapturerWinDirectx::frames_ and contexts_
The key change of this CL is to merge ScreenCapturerWinDirectx::frames_ and
contexts_ into a new DxgiFrame class. So consumers of DxgiDuplicateController
does not need to maintain two objects. DxgiDuplicateController::Duplicate*()
functions are also updated to accept DxgiFrame parameter instead of
SharedDesktopFrame + Context. The advantages of this change are,

1. Once the screen resolution changes or an existing monitor has been removed,
DxgiFrame can automatically reset the frame without needing to return a capture
failure.
2. Remove public APIs of DxgiDuplicatorController. Some public APIs are not
needed anymore, i.e. consumers of DxgiDuplicatorController do not need to take
care about these internal states anymore. It also helps to remove several lock
acquiements.
3. Reduce the complexity of ScreenCapturerWinDirectx.

But the disadvantage is, instead of a boolean value,
DxgiDuplicateController::Duplicate*() now return an enumeration. Clients need to
use the enumeration to decide whether the error can be recovered or not.

This change also removes a duplicating logic in ScreenCapturerWinDirectx. i.e.
ResolutionChangeDetector, DxgiDuplicateController now takes care of the screen
resolution changes.

I have verified the scenarios with and without SharedMemoryFactory, also the
Desktop capture API example. So far no regression is detected.

BUG=704205

Review-Url: https://codereview.webrtc.org/2788863006
Cr-Commit-Position: refs/heads/master@{#17795}
2017-04-20 19:06:04 +00:00