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

Issue 2563153002: Implement the "needs-ice-restart" logic for SetConfiguration. (Closed)

Created:
4 years ago by Taylor Brandstetter
Modified:
4 years ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, the sun, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Implement the "needs-ice-restart" logic for SetConfiguration. Changing the configuration will cause subsequently generated offers to change the ufrag/pwd as necessary, so that a new round of gathering is started that uses the new configuration. This CL also makes some minor unrelated changes: changing the reference SDP in the PC tests to more match what we generate, and relaxing the network thread requirement for JsepTransport (since there's no reason the "needs-ice-restart" flag can't be accessed from the signaling thread). BUG=webrtc:6714 Committed: https://crrev.com/d1a38b591d85ba144d5d53298fdd1e453ab43ead Cr-Commit-Position: refs/heads/master@{#15527}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixing find/replace mistake. #

Total comments: 14

Patch Set 3 : Addressing comments (adding helper method, adding comments, renaming) #

Patch Set 4 : Fixing signed/unsigned comparison warning. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -36 lines) Patch
M webrtc/api/peerconnection.cc View 1 chunk +8 lines, -1 line 0 comments Download
M webrtc/api/peerconnectioninterface.h View 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/api/peerconnectioninterface_unittest.cc View 1 2 3 13 chunks +159 lines, -13 lines 0 comments Download
M webrtc/api/webrtcsession.h View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M webrtc/api/webrtcsession.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M webrtc/api/webrtcsessiondescriptionfactory.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M webrtc/p2p/base/jseptransport.h View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M webrtc/p2p/base/jseptransport.cc View 3 chunks +25 lines, -3 lines 0 comments Download
M webrtc/p2p/base/jseptransport_unittest.cc View 1 chunk +35 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.h View 1 2 2 chunks +13 lines, -3 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.cc View 1 13 chunks +29 lines, -16 lines 0 comments Download
M webrtc/p2p/base/transportcontroller_unittest.cc View 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
Taylor Brandstetter
PTAL Peter. Some Blink people were reluctant to ship setConfiguration without this implemented. https://codereview.webrtc.org/2563153002/diff/1/webrtc/api/peerconnectioninterface_unittest.cc File ...
4 years ago (2016-12-09 22:15:53 UTC) #2
pthatcher1
lgtm, with nits https://codereview.webrtc.org/2563153002/diff/20001/webrtc/api/peerconnectioninterface_unittest.cc File webrtc/api/peerconnectioninterface_unittest.cc (right): https://codereview.webrtc.org/2563153002/diff/20001/webrtc/api/peerconnectioninterface_unittest.cc#newcode2773 webrtc/api/peerconnectioninterface_unittest.cc:2773: } Unimportant idea: if you enabled ...
4 years ago (2016-12-10 02:26:32 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/2563153002/diff/20001/webrtc/api/peerconnectioninterface_unittest.cc File webrtc/api/peerconnectioninterface_unittest.cc (right): https://codereview.webrtc.org/2563153002/diff/20001/webrtc/api/peerconnectioninterface_unittest.cc#newcode2773 webrtc/api/peerconnectioninterface_unittest.cc:2773: } On 2016/12/10 02:26:31, pthatcher1 wrote: > Unimportant idea: ...
4 years ago (2016-12-10 19:00:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2563153002/40001
4 years ago (2016-12-10 19:01:34 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_dbg/builds/14268)
4 years ago (2016-12-10 19:21:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2563153002/60001
4 years ago (2016-12-10 20:57:47 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-10 21:15:38 UTC) #15
commit-bot: I haz the power
4 years ago (2016-12-10 21:15:46 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d1a38b591d85ba144d5d53298fdd1e453ab43ead
Cr-Commit-Position: refs/heads/master@{#15527}

Powered by Google App Engine
This is Rietveld 408576698