20319 Commits

Author SHA1 Message Date
Mirko Bonadei
4e4e75668c Stop using public_deps in voice_engine.
TBR=phoglund@webrtc.org

Bug: webrtc:8603
Change-Id: I37bd54f538a2d4ebec5d07e38de6690de3488d56
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/29760
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Edward Lemur <ehmaldonado@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21087}
2017-12-05 13:57:52 +00:00
Mirko Bonadei
5e849cf9eb Stop using public_deps in audio/utility.
TBR=phoglund@webrtc.org

Bug: webrtc:8603
Change-Id: Ifb8df25ccb0358abcf92499a87b497cee2ab81b0
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/29103
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Edward Lemur <ehmaldonado@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21086}
2017-12-05 13:52:12 +00:00
Edward Lemur
5c6a606767 Dump perf results to a JSON file on iOS perf tests.
TBR=phoglund@webrtc.org

No-Try: true
Bug: webrtc:7156
Change-Id: I5b2c2e877db6214b07838de8f5d81c45a0f482ca
Reviewed-on: https://webrtc-review.googlesource.com/29820
Reviewed-by: Edward Lemur <ehmaldonado@webrtc.org>
Commit-Queue: Edward Lemur <ehmaldonado@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21085}
2017-12-05 13:41:32 +00:00
Ilya Nikolaevskiy
a4259f6b66 Add new event type to RtcEventLog
Alr state is now logged by the pacer. To avoid confusion,
loopback tools will now create two separate rtc event
logs for sender and receiver calls.

Bug: webrtc:8287, webrtc:8588
Change-Id: Ib3e47d109c3a65a7ed069b9a613e6a08fe6a2f30
Reviewed-on: https://webrtc-review.googlesource.com/26880
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21084}
2017-12-05 13:13:07 +00:00
Autoroller
095c25d05a Roll chromium_revision d32934233b..9db327358e (521669:521678)
Change log: d32934233b..9db327358e
Full diff: d32934233b..9db327358e

Changed dependencies:
* src/ios: cdda0767c9..9d5b92ab83
* src/third_party: 555b48befb..feba26899a
DEPS diff: d32934233b..9db327358e/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: Ia11512eee8f5ac8219265e224e9869c7e57bb160
Reviewed-on: https://webrtc-review.googlesource.com/29800
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21083}
2017-12-05 13:12:02 +00:00
Edward Lemur
ab63bb5765 Add a flag to store perf results as a JSON file.
Add a flag to store perf results as a JSON file in the format specified
by https://github.com/catapult-project/catapult/blob/master/dashboard/docs/data-format.md

Bug: webrtc:7156
Change-Id: Ia5b0317f0f5dc8767fa219f42bc39bf4073203e8
Reviewed-on: https://webrtc-review.googlesource.com/29160
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Edward Lemur <ehmaldonado@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21082}
2017-12-05 12:54:32 +00:00
Autoroller
12da8f1ab1 Roll chromium_revision 5c8a241432..d32934233b (521651:521669)
Change log: 5c8a241432..d32934233b
Full diff: 5c8a241432..d32934233b

Changed dependencies:
* src/ios: dcd3df50b2..cdda0767c9
* src/third_party: 828ae34ae0..555b48befb
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/3337fb647c..4ba80741d0
* src/tools: d41696e06f..77fe62eef2
DEPS diff: 5c8a241432..d32934233b/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: Ia5cee5141284dbab263f61e142496c6e2d19ee5b
Reviewed-on: https://webrtc-review.googlesource.com/29720
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21081}
2017-12-05 12:17:32 +00:00
henrika
f1978e5d1a Removes deprecated ADM APIs (reland)
Usage should now be removed and this change can be relanded.
It was reverted here: https://webrtc-review.googlesource.com/c/src/+/27200

NOTRY=TRUE
TBR=solenberg

Bug: webrtc:7306
Change-Id: I5191263e6cfd48952b59ff8f9af2e59c3e9eadef
Reviewed-on: https://webrtc-review.googlesource.com/29682
Commit-Queue: Henrik Andreassson <henrika@webrtc.org>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21080}
2017-12-05 12:03:32 +00:00
Mirko Bonadei
c3da1e61bc Fixing chromium MSVC64(dbg) build.
CL https://webrtc-review.googlesource.com/c/src/+/28120 removed a
public dependency from rtc_tools:video_quality_analysis on
common_video:common_video.

This was keeping the MSVC64(dbg) build green because was giving the
linker the opportunity to find api:optional symbols.

This CL tries to fix and adds a TODO to remove the synthetic
dependency. The dependency on api:optional should be added to
rtc_base:rtc_base_approved_generic but this triggers another
dependency cycle.

TBR=tommi@webrtc.org

Bug: webrtc:6828
Change-Id: I4e28b49fdb3ee6484a253ca7b1f1a8aafa20e915
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/29683
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21079}
2017-12-05 11:58:32 +00:00
Niels Möller
4f6b6c2437 Delete MediaFile support for unused fileformats.
There's no downstream use of kFileFormatCompressedFile,
kFileFormatPreencodedFile or kFileFormatPcm48kHzFile.

Bug: None
Change-Id: I66cbe71151472d6348515a2432a280acbc3bbf85
Reviewed-on: https://webrtc-review.googlesource.com/28040
Reviewed-by: Magnus Flodman <mflodman@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21078}
2017-12-05 11:37:23 +00:00
Kári Tristan Helgason
4d3e24a359 Allow building without sctp on mac/ios.
Bug: webrtc:8590
Change-Id: I4388a2292d3d5dcdb5fdcc11a1807e4790261565
Reviewed-on: https://webrtc-review.googlesource.com/27985
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21077}
2017-12-05 11:17:02 +00:00
Autoroller
511bb1502b Roll chromium_revision 6ed69ac878..5c8a241432 (521641:521651)
Change log: 6ed69ac878..5c8a241432
Full diff: 6ed69ac878..5c8a241432

Changed dependencies:
* src/ios: 954e1246d7..dcd3df50b2
* src/testing: 3c5160b074..c11c00dc4c
* src/third_party: 411929b226..828ae34ae0
* src/tools: 0afb160f66..d41696e06f
DEPS diff: 6ed69ac878..5c8a241432/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: Ie0a7a8dc377969368d2f78eebfc59c42da522b4f
Reviewed-on: https://webrtc-review.googlesource.com/29700
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21076}
2017-12-05 10:52:32 +00:00
Ilya Nikolaevskiy
33102745a0 Remove WebRTC-ClockEstimation experiment and make new clock estimation always enabled
Bug: webrtc:8468
Change-Id: Id9feb8e2c015f0a895a093d20caedae4a8b1337e
Reviewed-on: https://webrtc-review.googlesource.com/29161
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21075}
2017-12-05 09:49:32 +00:00
philipel
b32c473770 Again disable EndToEndTest.InitialProbing on certain bots.
After changing from TEST_F to TEST_P the MAYBE_InitialProbing macro was not
expanded as expected, causing the test to be enabled on all bots with the name
MAYBE_InitialProbing.

Bug: None
Change-Id: Icfb0c4b381510c1b73295f017ebb68d43b7d9809
Reviewed-on: https://webrtc-review.googlesource.com/29640
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21074}
2017-12-05 09:34:22 +00:00
Autoroller
870921d5b8 Roll chromium_revision e2250f1e52..6ed69ac878 (521632:521641)
Change log: e2250f1e52..6ed69ac878
Full diff: e2250f1e52..6ed69ac878

Changed dependencies:
* src/testing: 31d23dd5db..3c5160b074
* src/third_party: 80457dccf4..411929b226
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/218a522b36..3337fb647c
DEPS diff: e2250f1e52..6ed69ac878/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: Id87695ffdf72102cc9900dfea58a0c54f8fdcfa9
Reviewed-on: https://webrtc-review.googlesource.com/29660
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21073}
2017-12-05 09:28:31 +00:00
Mirko Bonadei
a0e1a55dc9 Stop using public_deps in the call module.
Bug: webrtc:8603
Change-Id: I048127bc86f213e638e6814ac8a86761cb8a64db
Reviewed-on: https://webrtc-review.googlesource.com/28624
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21072}
2017-12-05 08:29:41 +00:00
Autoroller
3ffc03edad Roll chromium_revision 022cebe871..e2250f1e52 (521625:521632)
Change log: 022cebe871..e2250f1e52
Full diff: 022cebe871..e2250f1e52

Changed dependencies:
* src/ios: 41a7052da3..954e1246d7
* src/testing: 4830ec9955..31d23dd5db
* src/third_party: 7419127eb5..80457dccf4
* src/tools: d511f2a46e..0afb160f66
DEPS diff: 022cebe871..e2250f1e52/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I185066446cf2d983ae9871119be8598e25023f36
Reviewed-on: https://webrtc-review.googlesource.com/29621
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21071}
2017-12-05 08:17:01 +00:00
Autoroller
b8e879c387 Roll chromium_revision 5affd5cc5a..022cebe871 (521620:521625)
Change log: 5affd5cc5a..022cebe871
Full diff: 5affd5cc5a..022cebe871

Changed dependencies:
* src/third_party: 1cac9e7074..7419127eb5
DEPS diff: 5affd5cc5a..022cebe871/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I6b5e2dd9ee94f24bf15a835f6e525603b467834b
Reviewed-on: https://webrtc-review.googlesource.com/29620
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21070}
2017-12-05 07:11:31 +00:00
Autoroller
b35db26048 Roll chromium_revision ef76aa28ac..5affd5cc5a (521605:521620)
Change log: ef76aa28ac..5affd5cc5a
Full diff: ef76aa28ac..5affd5cc5a

Changed dependencies:
* src/testing: 1fcd92b6d0..4830ec9955
* src/third_party: 9ca022cff2..1cac9e7074
DEPS diff: ef76aa28ac..5affd5cc5a/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: Ic58ae79b4ab584f61cf5315e66274b823d7c0ec5
Reviewed-on: https://webrtc-review.googlesource.com/29600
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21069}
2017-12-05 06:21:22 +00:00
Autoroller
1aed9fb92b Roll chromium_revision 24b06ad580..ef76aa28ac (521596:521605)
Change log: 24b06ad580..ef76aa28ac
Full diff: 24b06ad580..ef76aa28ac

Changed dependencies:
* src/third_party: c10a64aaea..9ca022cff2
* src/tools: c340b8646f..d511f2a46e
DEPS diff: 24b06ad580..ef76aa28ac/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: Iacb40688812a766e8c34b6441fed945b4624437e
Reviewed-on: https://webrtc-review.googlesource.com/29560
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21068}
2017-12-05 04:40:21 +00:00
Autoroller
a20d36aed1 Roll chromium_revision 02a8197e33..24b06ad580 (521584:521596)
Change log: 02a8197e33..24b06ad580
Full diff: 02a8197e33..24b06ad580

Changed dependencies:
* src/ios: e9eef0fc10..41a7052da3
* src/testing: 0479f1327f..1fcd92b6d0
* src/third_party: 8a38e936d0..c10a64aaea
DEPS diff: 02a8197e33..24b06ad580/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: Iaeac5e47292f9469a8437b620e38faa23175ec1f
Reviewed-on: https://webrtc-review.googlesource.com/29540
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21067}
2017-12-05 03:30:02 +00:00
Autoroller
119491a827 Roll chromium_revision a846ad7dac..02a8197e33 (521555:521584)
Change log: a846ad7dac..02a8197e33
Full diff: a846ad7dac..02a8197e33

Changed dependencies:
* src/build: 19d97ed4ae..3320fdec7b
* src/testing: 64f86b022a..0479f1327f
* src/third_party: 817f8e2c15..8a38e936d0
* src/third_party/depot_tools: b278ddd939..873be6fd45
* src/tools: 412802b688..c340b8646f
DEPS diff: a846ad7dac..02a8197e33/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I6e978d9932a337edc2159284da81e38bf03a2181
Reviewed-on: https://webrtc-review.googlesource.com/29520
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21066}
2017-12-05 02:17:11 +00:00
Steve Anton
6d6a2ae174 Refactor PeerConnection::UpdateSessionState
This rewrites UpdateSessionState to better show the logic common
to all description types and the logic specific to
offers/answers/etc. Separating these will allow more code to be
reused with the Unified Plan implementation.

Bug: webrtc:8587
Change-Id: I56e0370dcb8bb4b59af2a5209edcad4606480e1c
Reviewed-on: https://webrtc-review.googlesource.com/27322
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Reviewed-by: Zhi Huang <zhihuang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21065}
2017-12-05 02:11:51 +00:00
Autoroller
c8c3231302 Roll chromium_revision 4114544404..a846ad7dac (521527:521555)
Change log: 4114544404..a846ad7dac
Full diff: 4114544404..a846ad7dac

Changed dependencies:
* src/ios: 79acc370e0..e9eef0fc10
* src/third_party: 1459e0d99f..817f8e2c15
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/cb907fe1fd..218a522b36
* src/tools: e764fd30b5..412802b688
DEPS diff: 4114544404..a846ad7dac/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I09899607f2cc58042185c72016b6f65cbe848feb
Reviewed-on: https://webrtc-review.googlesource.com/29480
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21064}
2017-12-05 01:15:59 +00:00
Steve Anton
2039306d66 Replace PeerConnection::Action with cricket::ContentAction
PeerConnection had an Action enum as a holdover from the
WebRtcSession merge with the same members as
cricket::ContentAction. Since ContentAction is used in more places
outside of PeerConnection, this change removes the Action enum and
replaces its use with cricket::ContentAction.

Bug: webrtc:8587
Change-Id: I3e825fe285dbaf6b3f128eccde0f38864171af13
Reviewed-on: https://webrtc-review.googlesource.com/27321
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Reviewed-by: Zhi Huang <zhihuang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21063}
2017-12-05 00:53:19 +00:00
Autoroller
6ebf111480 Roll chromium_revision 7be49f33af..4114544404 (521495:521527)
Change log: 7be49f33af..4114544404
Full diff: 7be49f33af..4114544404

Changed dependencies:
* src/base: dda5d513a3..f252ccb35f
* src/ios: 843396a220..79acc370e0
* src/testing: 1f439ac9b9..64f86b022a
* src/third_party: 0cfbc63c00..1459e0d99f
* src/tools: cac7c19697..e764fd30b5
DEPS diff: 7be49f33af..4114544404/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I69dff57c1c59c9415e1ca53b72d312c1ea724d1c
Reviewed-on: https://webrtc-review.googlesource.com/29440
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21062}
2017-12-05 00:31:39 +00:00
Steve Anton
8a006916ce Use RTCError for internal PeerConnection methods
Calls to SetLocalDescription and SetRemoteDescription in
PeerConnection delegate to many different internal helper methods
which can fail. The error ultimately needs to propagate to the
caller and cause the SetXXXDescription to fail. Right now these
methods signal errors by returning false and copying the error
message into an out parameter. This changes these methods to
return RTCError instead and avoid the use of the out parameter.

Bug: webrtc:8587
Change-Id: Ib1d31622be742718b74780110c1bbe273d66444e
Reviewed-on: https://webrtc-review.googlesource.com/27241
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Reviewed-by: Zhi Huang <zhihuang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21061}
2017-12-05 00:04:39 +00:00
Steve Anton
f847081c25 Rename PeerConnection::Error to PeerConnection::SessionError
Also renames methods for interacting with the session error. This
clarifies the scope of this error type and lets methods have a
local variable named |error| without confusing it with the
|error()| getter.

Bug: webrtc:8587
Change-Id: I90e6eed24d961abbce15e56a76a8793ff1a806ea
Reviewed-on: https://webrtc-review.googlesource.com/27124
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Reviewed-by: Zhi Huang <zhihuang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21060}
2017-12-04 23:21:29 +00:00
Autoroller
c0a73ceb77 Roll chromium_revision d488264cd6..7be49f33af (521469:521495)
Change log: d488264cd6..7be49f33af
Full diff: d488264cd6..7be49f33af

Changed dependencies:
* src/testing: 802905f57c..1f439ac9b9
* src/third_party: acdcd2223f..0cfbc63c00
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/a12fb2d1ad..cb907fe1fd
* src/third_party/depot_tools: ad64abd69a..b278ddd939
* src/tools: c2b870bcbc..cac7c19697
DEPS diff: d488264cd6..7be49f33af/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I1379e8ec0b6fa068049f13f2b0c8a3db62d72006
Reviewed-on: https://webrtc-review.googlesource.com/29360
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21059}
2017-12-04 23:15:19 +00:00
Autoroller
7c7a207338 Roll chromium_revision 30ff08d0c6..d488264cd6 (521439:521469)
Change log: 30ff08d0c6..d488264cd6
Full diff: 30ff08d0c6..d488264cd6

Changed dependencies:
* src/base: a07720c514..dda5d513a3
* src/ios: 7d6af417f3..843396a220
* src/third_party: 0f3524dc76..acdcd2223f
DEPS diff: 30ff08d0c6..d488264cd6/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I2ef57e20235f37da4ea35d9270da56a117fe7296
Reviewed-on: https://webrtc-review.googlesource.com/29340
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21058}
2017-12-04 22:31:20 +00:00
Zhi Huang
2dfc42d7b6 Prepare to make BaseChannel depend on RtpTransportInternal only.
Eventually we want BaseChannel to depend on the RtpTransportInternal
instead of DtlsTransportInternal and share RtpTransport when bundling.
This CL is the first step.

Add SetRtpTransport and Init_w(RtptransportInternal*) to BaseChannel.
These two methods would replace the existing SetTransports and Init_w
methods.

Add new CreateVoice/VideoChannel methods to the ChannelManager which
 take RtpTransportInternal instead of Dtls/PacketTransportInternal.

|cotnent_name| is removed from the SrtpTransport to simplify to code
since it is only used for debugging.

InitNetwork_n is removed from BaseChannel in CL as well.

Bug: webrtc:7013
Change-Id: I35b1565958548bd4896854c49e61d3ee160b7634
Reviewed-on: https://webrtc-review.googlesource.com/27840
Commit-Queue: Zhi Huang <zhihuang@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21057}
2017-12-04 22:27:39 +00:00
Autoroller
75432b38b4 Roll chromium_revision 07346a2dab..30ff08d0c6 (521413:521439)
Change log: 07346a2dab..30ff08d0c6
Full diff: 07346a2dab..30ff08d0c6

Changed dependencies:
* src/base: ac825c9ab3..a07720c514
* src/ios: 88f85f0661..7d6af417f3
* src/third_party: fb79c3ffc0..0f3524dc76
* src/tools: 3e10589126..c2b870bcbc
DEPS diff: 07346a2dab..30ff08d0c6/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I5227dbefa5b30fcd1e922faeff0e98f2fefcd216
Reviewed-on: https://webrtc-review.googlesource.com/29321
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21056}
2017-12-04 21:30:39 +00:00
Tommi
6f314bbbb9 Convert an RTC_DCHECK to logging an error in debug builds.
Removing the check as they were causing some tests to fail.

Bug: none
Change-Id: I42878d93a3239b18e3807a77bffc597794b65bf1
TBR: ossu@webrtc.org
Reviewed-on: https://webrtc-review.googlesource.com/29300
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21055}
2017-12-04 20:27:59 +00:00
Autoroller
e9eb9d0ea7 Roll chromium_revision abb3c8f751..07346a2dab (521395:521413)
Change log: abb3c8f751..07346a2dab
Full diff: abb3c8f751..07346a2dab

Changed dependencies:
* src/base: 226fc938dc..ac825c9ab3
* src/ios: 133adb3c8e..88f85f0661
* src/third_party: c15db477e7..fb79c3ffc0
* src/third_party/depot_tools: 17995a9f12..ad64abd69a
DEPS diff: abb3c8f751..07346a2dab/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: Iec2fb2812b62946d0d6418ab694f7013f36bb555
Reviewed-on: https://webrtc-review.googlesource.com/29320
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21054}
2017-12-04 20:17:28 +00:00
Qingsi Wang
e169272507 Fixed a bug in determining ICE roles.
When the initial offer side uses the ICE lite implementation, and
initiates a peer connection with an endpoint with the full
implementation, the offer side assumes the controlled ICE role per
RFC5245 and the remote endpoint MUST take the controlling role.

This logic was partially implemented in SetRemoteTransportDescription in
reflection where the endpoint switches its role to the controlling after
receiving the offer. The bug was caused by the following
SetLocalDescription at the remote endpoint after creating the answer,
which overrides the role to the controlled since it has no initial offer
and the role is not reflected in SetLocalTransportDescription. This
results in no nomination of candidate pairs and timeout of establishing
the peer connection.

The fix adds reflection on one's ICE role in SetLocalTransportDescription.
This fix also takes into account the case when both sides use the lite
implementation of ICE and the initial offer side MUST take the controlling
role per RFC5245 in this case, which is the default behavior in the
current implementation.

Bug: webrtc:8531
Change-Id: I65edd296c155bff51fcdb28709975e6837f302d5
Reviewed-on: https://webrtc-review.googlesource.com/26780
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Commit-Queue: Qingsi Wang <qingsi@google.com>
Cr-Commit-Position: refs/heads/master@{#21053}
2017-12-04 20:08:28 +00:00
Steve Anton
6fec880dd1 Unify and de-duplicate BaseChannel deletion in PeerConnection
This refactoring reduces code duplication in PeerConnection and
will make it easier to use these methods with the Unified Plan
implementation.

Bug: webrtc:8587
Change-Id: I6afd44fff702290903555cbe7703198b6b091da6
Reviewed-on: https://webrtc-review.googlesource.com/26822
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Reviewed-by: Zhi Huang <zhihuang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21052}
2017-12-04 19:49:38 +00:00
Autoroller
f0f1eae2c5 Roll chromium_revision ad2869c08e..abb3c8f751 (521379:521395)
Change log: ad2869c08e..abb3c8f751
Full diff: ad2869c08e..abb3c8f751

Changed dependencies:
* src/ios: b886c6ea1d..133adb3c8e
* src/testing: 9331a3f8d5..802905f57c
* src/third_party: 4d24adbf07..c15db477e7
* src/tools: a587fde4d4..3e10589126
DEPS diff: ad2869c08e..abb3c8f751/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I1b1831fe95ad60146bdbb2be04a087e701e9cd9c
Reviewed-on: https://webrtc-review.googlesource.com/29280
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21051}
2017-12-04 19:29:09 +00:00
Steve Anton
eda6ccd0c2 Refactor BaseChannel creation in PeerConnection
This changes the CreateVoiceChannel/CreateVideoChannel helper
methods in PeerConnection to return the created channel instead of
setting it directly. That allows the Unified Plan version of
SetLocalDescription to use the same factory methods without the
assumption that there is at most one voice and one video channel.

Also simplifies and deduplicates the logic for determining the
transport name for a given channel in the presence of BUNDLE.

Bug: webrtc:8587
Change-Id: I1f156f45309ce2d08d6d5d5ed3c6e01fbf094b36
Reviewed-on: https://webrtc-review.googlesource.com/26821
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Reviewed-by: Zhi Huang <zhihuang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21050}
2017-12-04 18:55:38 +00:00
Tommi
6cea2b0f4b Remove thread checker in thread.cc due to downstream issue.
TBR=ossu@webrtc.org

Bug: webrtc:8596
Change-Id: Ie36b18a2a66e08d8006e85c3a7783df74e157c92
Reviewed-on: https://webrtc-review.googlesource.com/29204
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21049}
2017-12-04 18:34:09 +00:00
Autoroller
45507f2c81 Roll chromium_revision 7bddd6cee4..ad2869c08e (521364:521379)
Change log: 7bddd6cee4..ad2869c08e
Full diff: 7bddd6cee4..ad2869c08e

Changed dependencies:
* src/base: cfb74ca657..226fc938dc
* src/ios: 88e2d4083f..b886c6ea1d
* src/third_party: 987e557b47..4d24adbf07
* src/tools: 9afc15c35a..a587fde4d4
DEPS diff: 7bddd6cee4..ad2869c08e/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I66d6dae2a361456e4a6fa87571983d9eb873446c
Reviewed-on: https://webrtc-review.googlesource.com/29240
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21048}
2017-12-04 18:20:58 +00:00
Danil Chapovalov
6348d5b37b Disable TimeUtilTest.TimeMicrosToNtpMatchRealTimeClockInitially on ios
Bug: webrtc:8610
Change-Id: Idb572ae2ac364fee0a53e217adafc55b62d6683a
Reviewed-on: https://webrtc-review.googlesource.com/29200
Reviewed-by: Oskar Sundbom <ossu@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21047}
2017-12-04 18:09:20 +00:00
Autoroller
0db8a40d98 Roll chromium_revision f3a65da808..7bddd6cee4 (521334:521364)
Change log: f3a65da808..7bddd6cee4
Full diff: f3a65da808..7bddd6cee4

Changed dependencies:
* src/ios: cdd9df41b9..88e2d4083f
* src/testing: 66be7f3bde..9331a3f8d5
* src/third_party: 4b9c681d8a..987e557b47
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/c796cbc3a6..a12fb2d1ad
DEPS diff: f3a65da808..7bddd6cee4/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I2e3cbc79ac1bcf8cc7d26af55290eb88cc99baf3
Reviewed-on: https://webrtc-review.googlesource.com/29220
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21046}
2017-12-04 17:28:18 +00:00
Autoroller
31cee3a0d5 Roll chromium_revision 7d467b79bf..f3a65da808 (521327:521334)
Change log: 7d467b79bf..f3a65da808
Full diff: 7d467b79bf..f3a65da808

Changed dependencies:
* src/third_party: 0fbe142f40..4b9c681d8a
DEPS diff: 7d467b79bf..f3a65da808/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I4a86258f5b884c6c6eef3eb5de264d7e45e590a6
Reviewed-on: https://webrtc-review.googlesource.com/29140
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21045}
2017-12-04 15:43:48 +00:00
Mirko Bonadei
0880f4b58f Stop using public_deps in stats.
Bug: None
Change-Id: Id73fd4e4f83f2942cb1b394908ccc729933977cf
Reviewed-on: https://webrtc-review.googlesource.com/29020
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21044}
2017-12-04 15:42:18 +00:00
Fredrik Solenberg
cf73c96a79 Add AudioDeviceModule to AudioState::Config.
This is to prepare client code for landing https://webrtc-review.googlesource.com/c/src/+/26681.

Bug: webrtc:4690
Change-Id: I82b24d876f9345ca7f59bfd6fc7ab26ba694b0d8
Reviewed-on: https://webrtc-review.googlesource.com/28320
Reviewed-by: Oskar Sundbom <ossu@webrtc.org>
Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21043}
2017-12-04 15:18:59 +00:00
Tommi
5149242d06 Remove dependency on rtc::Event from rtc::Thread.
The problem with using an Event for the 'running_' flag is that a Wait() is necessary to check the value of the flag and calling Wait() means a synchronous system call. In chromium that can furthermore trigger checks on threads where IO/blocking operations aren't allowed.

Luckily, we don't really need this variable. Instead, I'm adding thread checks to make sure that the Thread class is used correctly and ensure that locking isn't needed for modifying state (no locks are there now). As long as we follow those rules, we only need to check if a thread_ variable has been set when we want to know if the thread is running or not.

Along the way, fixed some places where variables weren't being set or reset correctly.

Bug: webrtc:8596
Change-Id: I1467542416bc2ffbfefe276c460e76078a759bd9
Reviewed-on: https://webrtc-review.googlesource.com/27720
Reviewed-by: Henrik Grunell <henrikg@webrtc.org>
Commit-Queue: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21042}
2017-12-04 15:15:08 +00:00
Mirko Bonadei
daf7008389 Stop using public_deps in ortc.
Bug: webrtc:8603
Change-Id: I32fa27ad53302ec04ac61b55228e5b74f16e7e56
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/29000
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21041}
2017-12-04 14:57:08 +00:00
Autoroller
e11bdf3491 Roll chromium_revision 0eb1e0ff9e..7d467b79bf (521321:521327)
Change log: 0eb1e0ff9e..7d467b79bf
Full diff: 0eb1e0ff9e..7d467b79bf

Changed dependencies:
* src/ios: 2c4cd7cb45..cdd9df41b9
* src/third_party: 19afa20b3f..0fbe142f40
DEPS diff: 0eb1e0ff9e..7d467b79bf/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I22f2e26f276b5176df186c6a4491336f0958bf71
Reviewed-on: https://webrtc-review.googlesource.com/29120
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21040}
2017-12-04 14:17:48 +00:00
Mirko Bonadei
0250be51be Stop using public_deps to depend on libyuv.
A lot of WebRTC targets were depending on //third_party/libyuv using
public_deps instead of deps. This causes issues because a the
inclusion of libyuv headers is not declared to the build system and
this creates hidden dependencies that put the modularity of the project
at risk.

Bug: webrtc:8603
Change-Id: Ide0ceb84eb5640ae664dc782f3a722b55c3b601a
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/28120
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Magnus Flodman <mflodman@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21039}
2017-12-04 14:16:08 +00:00
Niels Möller
83d27683a8 Delete more unused Mediafile methods.
In particular, PlayoutStereoData and StartPlayingAudioFile. This also
eliminates the dependency on system_wrappers FileWrapper.

Bug: None
Change-Id: I61df1eea1ad5f5035e36c8229febbf3668808f65
Reviewed-on: https://webrtc-review.googlesource.com/28121
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Magnus Flodman <mflodman@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21038}
2017-12-04 13:58:09 +00:00