Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1483)

Issue 1956453003: Relanding: Implement RTCConfiguration.iceCandidatePoolSize. (Closed)

Created:
4 years, 7 months ago by Taylor Brandstetter
Modified:
4 years, 7 months ago
Reviewers:
pthatcher1, honghaiz3
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Relanding: Implement RTCConfiguration.iceCandidatePoolSize. Depends on this CL in order to work in Chromium: https://codereview.chromium.org/1976673002/ It works by creating pooled PortAllocatorSessions which can be picked up by a P2PTransportChannel when needed (after a local description is set). This can optimize candidate gathering time when there is some time between creating a PeerConnection and setting a local description. R=pthatcher@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/48e9d05f510b1616c81303944008f75825971802 Committed: https://crrev.com/a1c303535fe7a29b87879047996efa2952f9701b Cr-Commit-Position: refs/heads/master@{#12729}

Patch Set 1 #

Total comments: 65

Patch Set 2 : Responding to pthatcher@ review comments. #

Total comments: 1

Patch Set 3 : Updating a comment. #

Total comments: 2

Patch Set 4 : Addressing comments and adding unit tests. #

Patch Set 5 : Fixing patch conflict. #

Patch Set 6 : Fixing compile error. #

Patch Set 7 : Fixing uninitialized variable (noticed by msan) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1223 lines, -2121 lines) Patch
M webrtc/api/peerconnection.h View 1 2 3 4 4 chunks +9 lines, -5 lines 0 comments Download
M webrtc/api/peerconnection.cc View 1 2 3 4 5 chunks +93 lines, -34 lines 0 comments Download
M webrtc/api/peerconnection_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/peerconnectionfactory.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/api/peerconnectionfactory_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/peerconnectioninterface.h View 1 1 chunk +13 lines, -25 lines 0 comments Download
M webrtc/api/peerconnectioninterface_unittest.cc View 1 2 3 4 6 chunks +89 lines, -13 lines 0 comments Download
M webrtc/api/test/peerconnectiontestwrapper.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/webrtcsession.h View 1 2 3 4 3 chunks +0 lines, -4 lines 0 comments Download
M webrtc/api/webrtcsession.cc View 1 4 chunks +0 lines, -25 lines 0 comments Download
M webrtc/api/webrtcsession_unittest.cc View 1 2 3 4 2 chunks +0 lines, -50 lines 0 comments Download
M webrtc/p2p/base/candidate.h View 1 chunk +13 lines, -0 lines 0 comments Download
A + webrtc/p2p/base/fakeportallocator.h View 1 2 3 4 5 5 chunks +69 lines, -38 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 1 2 3 4 3 chunks +31 lines, -15 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 1 2 3 4 5 chunks +92 lines, -2 lines 0 comments Download
M webrtc/p2p/base/port.h View 1 2 chunks +12 lines, -14 lines 0 comments Download
M webrtc/p2p/base/port.cc View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
M webrtc/p2p/base/port_unittest.cc View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
M webrtc/p2p/base/portallocator.h View 1 2 3 4 5 6 12 chunks +99 lines, -15 lines 0 comments Download
M webrtc/p2p/base/portallocator.cc View 1 2 3 1 chunk +69 lines, -7 lines 0 comments Download
A webrtc/p2p/base/portallocator_unittest.cc View 1 2 3 1 chunk +205 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transportcontroller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/client/basicportallocator.h View 1 5 chunks +14 lines, -27 lines 0 comments Download
M webrtc/p2p/client/basicportallocator.cc View 1 2 3 13 chunks +99 lines, -51 lines 0 comments Download
A + webrtc/p2p/client/basicportallocator_unittest.cc View 1 2 3 61 chunks +273 lines, -185 lines 0 comments Download
D webrtc/p2p/client/fakeportallocator.h View 1 2 3 4 1 chunk +0 lines, -189 lines 0 comments Download
D webrtc/p2p/client/portallocator_unittest.cc View 1 chunk +0 lines, -1412 lines 0 comments Download
M webrtc/p2p/p2p.gyp View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
Taylor Brandstetter
Peter and Honghai, please take a look. https://codereview.webrtc.org/1956453003/diff/1/webrtc/p2p/base/fakeportallocator.h File webrtc/p2p/base/fakeportallocator.h (right): https://codereview.webrtc.org/1956453003/diff/1/webrtc/p2p/base/fakeportallocator.h#newcode108 webrtc/p2p/base/fakeportallocator.h:108: turn_servers_(turn_servers) { ...
4 years, 7 months ago (2016-05-05 19:56:23 UTC) #2
pthatcher1
https://codereview.webrtc.org/1956453003/diff/1/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (right): https://codereview.webrtc.org/1956453003/diff/1/webrtc/api/peerconnection.cc#newcode555 webrtc/api/peerconnection.cc:555: &cricket::PortAllocator::SetConfiguration, port_allocator_.get(), I'm a little confused. Some things on ...
4 years, 7 months ago (2016-05-05 21:51:26 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1956453003/diff/1/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (right): https://codereview.webrtc.org/1956453003/diff/1/webrtc/api/peerconnection.cc#newcode555 webrtc/api/peerconnection.cc:555: &cricket::PortAllocator::SetConfiguration, port_allocator_.get(), On 2016/05/05 21:51:24, pthatcher1 wrote: > I'm ...
4 years, 7 months ago (2016-05-06 03:53:35 UTC) #4
pthatcher1
https://codereview.webrtc.org/1956453003/diff/1/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1956453003/diff/1/webrtc/p2p/base/p2ptransportchannel.cc#newcode290 webrtc/p2p/base/p2ptransportchannel.cc:290: } On 2016/05/06 03:53:34, Taylor Brandstetter wrote: > On ...
4 years, 7 months ago (2016-05-07 00:21:44 UTC) #5
Taylor Brandstetter
https://codereview.webrtc.org/1956453003/diff/1/webrtc/p2p/base/portallocator.h File webrtc/p2p/base/portallocator.h (right): https://codereview.webrtc.org/1956453003/diff/1/webrtc/p2p/base/portallocator.h#newcode202 webrtc/p2p/base/portallocator.h:202: friend class PortAllocator; On 2016/05/07 00:21:44, pthatcher1 wrote: > ...
4 years, 7 months ago (2016-05-09 22:07:10 UTC) #6
pthatcher1
lgtm
4 years, 7 months ago (2016-05-11 05:49:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1956453003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1956453003/80001
4 years, 7 months ago (2016-05-12 15:31:45 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_compile_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_compile_dbg/builds/5367)
4 years, 7 months ago (2016-05-12 15:34:19 UTC) #11
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/48e9d05f510b1616c81303944008f75825971802 Cr-Commit-Position: refs/heads/master@{#12708}
4 years, 7 months ago (2016-05-12 17:19:47 UTC) #13
Taylor Brandstetter
Committed patchset #7 (id:120001) manually as 48e9d05f510b1616c81303944008f75825971802 (presubmit successful).
4 years, 7 months ago (2016-05-12 17:19:49 UTC) #15
Taylor Brandstetter
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.webrtc.org/1972043004/ by deadbeef@webrtc.org. ...
4 years, 7 months ago (2016-05-12 19:43:38 UTC) #16
Taylor Brandstetter
Committed patchset #7 (id:120001) manually as a1c303535fe7a29b87879047996efa2952f9701b (presubmit successful).
4 years, 7 months ago (2016-05-13 15:15:25 UTC) #19
tommi
4 years, 7 months ago (2016-05-14 10:23:46 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.webrtc.org/1982513002/ by tommi@webrtc.org.

The reason for reverting is: Speculative revert to see if this could be
triggering an error on the Memcheck build bot where
EndToEndTest.SendsAndReceivesH264 consistently times out:

https://build.chromium.org/p/client.webrtc/builders/Linux%20Memcheck

.

Powered by Google App Engine
This is Rietveld 408576698