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

Issue 1671173002: Track pending ICE restarts independently for different media sections. (Closed)

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

Description

Track pending ICE restarts independently for different media sections. RFC 5245 allows an ICE restart to occur on only one media section. However, before this CL, if an endpoint attempted to do this, we would change our local ICE ufrag/pwd in every media section. Also did some refactoring, turning the transport options from mediasesion.h into a map. Committed: https://crrev.com/0ed85b2ee3079fb9597ec5e0eb5034a707c71aca Cr-Commit-Position: refs/heads/master@{#11728}

Patch Set 1 #

Patch Set 2 : Revising some comments. #

Total comments: 8

Patch Set 3 : Did some refactoring, changing transport options to a map. #

Patch Set 4 : Merging with master (since talk/app/webrtc moved!) #

Patch Set 5 : Adding a comment to peerconnection.h. #

Patch Set 6 : Changing content_name to reference param. #

Patch Set 7 : Extend ICE restart test to check that a second answer has new credentials. #

Total comments: 33

Patch Set 8 : Cleaning up unit test according to pthatcher@'s feedback. #

Patch Set 9 : Adding test for changing only ufrag or password, and doing some refactoring of the ICE related test… #

Patch Set 10 : Merging with master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+414 lines, -319 lines) Patch
M webrtc/api/peerconnection.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/api/peerconnection.cc View 1 2 3 4 5 6 7 8 9 4 chunks +27 lines, -12 lines 0 comments Download
M webrtc/api/peerconnectioninterface_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -9 lines 0 comments Download
M webrtc/api/webrtcsession.h View 1 2 3 4 5 6 7 8 9 5 chunks +6 lines, -5 lines 0 comments Download
M webrtc/api/webrtcsession.cc View 1 2 3 4 5 6 7 8 9 7 chunks +71 lines, -95 lines 0 comments Download
M webrtc/api/webrtcsession_unittest.cc View 1 2 3 4 5 6 7 8 9 10 chunks +203 lines, -127 lines 0 comments Download
M webrtc/api/webrtcsessiondescriptionfactory.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/api/webrtcsessiondescriptionfactory.cc View 1 2 3 4 5 3 chunks +55 lines, -48 lines 0 comments Download
M webrtc/p2p/base/transport.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/pc/mediasession.h View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -3 lines 0 comments Download
M webrtc/pc/mediasession.cc View 1 2 3 4 5 6 7 8 9 9 chunks +27 lines, -14 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
Taylor Brandstetter
This is a revised version of the "fix ICE restart issues" CL from a while ...
4 years, 10 months ago (2016-02-05 20:54:41 UTC) #2
honghaiz3
Mostly looking good to me. https://codereview.webrtc.org/1671173002/diff/20001/talk/app/webrtc/webrtcsession.cc File talk/app/webrtc/webrtcsession.cc (right): https://codereview.webrtc.org/1671173002/diff/20001/talk/app/webrtc/webrtcsession.cc#newcode870 talk/app/webrtc/webrtcsession.cc:870: // generation This and ...
4 years, 10 months ago (2016-02-10 01:01:48 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1671173002/diff/20001/talk/app/webrtc/webrtcsession.cc File talk/app/webrtc/webrtcsession.cc (right): https://codereview.webrtc.org/1671173002/diff/20001/talk/app/webrtc/webrtcsession.cc#newcode870 talk/app/webrtc/webrtcsession.cc:870: // generation On 2016/02/10 01:01:48, honghaiz3 wrote: > This ...
4 years, 10 months ago (2016-02-10 21:18:33 UTC) #4
honghaiz3
lgtm https://codereview.webrtc.org/1671173002/diff/120001/talk/session/media/mediasession.cc File talk/session/media/mediasession.cc (right): https://codereview.webrtc.org/1671173002/diff/120001/talk/session/media/mediasession.cc#newcode743 talk/session/media/mediasession.cc:743: auto it = options.transport_options.find(content_name); Perhaps this can be ...
4 years, 10 months ago (2016-02-12 18:21:04 UTC) #5
Taylor Brandstetter
https://codereview.webrtc.org/1671173002/diff/120001/talk/session/media/mediasession.cc File talk/session/media/mediasession.cc (right): https://codereview.webrtc.org/1671173002/diff/120001/talk/session/media/mediasession.cc#newcode743 talk/session/media/mediasession.cc:743: auto it = options.transport_options.find(content_name); On 2016/02/12 18:21:04, honghaiz3 wrote: ...
4 years, 10 months ago (2016-02-12 20:43:02 UTC) #6
pthatcher1
This is a clear improvement. Sorry it took so long to review. Mostly just style ...
4 years, 10 months ago (2016-02-17 06:46:59 UTC) #7
Taylor Brandstetter
https://codereview.webrtc.org/1671173002/diff/120001/webrtc/api/peerconnection.h File webrtc/api/peerconnection.h (right): https://codereview.webrtc.org/1671173002/diff/120001/webrtc/api/peerconnection.h#newcode33 webrtc/api/peerconnection.h:33: // Assumes that |session_options|->transport_options map entries exist. On 2016/02/17 ...
4 years, 10 months ago (2016-02-17 21:43:51 UTC) #8
pthatcher1
https://codereview.webrtc.org/1671173002/diff/120001/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/1671173002/diff/120001/webrtc/api/webrtcsession.cc#newcode779 webrtc/api/webrtcsession.cc:779: pending_ice_restarts_.clear(); On 2016/02/17 21:43:50, Taylor Brandstetter wrote: > On ...
4 years, 10 months ago (2016-02-17 21:53:38 UTC) #9
Taylor Brandstetter
https://codereview.webrtc.org/1671173002/diff/120001/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/1671173002/diff/120001/webrtc/api/webrtcsession.cc#newcode779 webrtc/api/webrtcsession.cc:779: pending_ice_restarts_.clear(); On 2016/02/17 21:53:38, pthatcher1 wrote: > On 2016/02/17 ...
4 years, 10 months ago (2016-02-18 00:33:21 UTC) #10
pthatcher1
lgtm https://codereview.webrtc.org/1671173002/diff/120001/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/1671173002/diff/120001/webrtc/api/webrtcsession.cc#newcode779 webrtc/api/webrtcsession.cc:779: pending_ice_restarts_.clear(); On 2016/02/18 00:33:21, Taylor Brandstetter wrote: > ...
4 years, 10 months ago (2016-02-19 02:33:44 UTC) #11
Taylor Brandstetter
https://codereview.webrtc.org/1671173002/diff/120001/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/1671173002/diff/120001/webrtc/api/webrtcsession.cc#newcode779 webrtc/api/webrtcsession.cc:779: pending_ice_restarts_.clear(); On 2016/02/19 02:33:43, pthatcher1 wrote: > On 2016/02/18 ...
4 years, 10 months ago (2016-02-19 21:59:26 UTC) #12
pthatcher1
https://codereview.webrtc.org/1671173002/diff/120001/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/1671173002/diff/120001/webrtc/api/webrtcsession.cc#newcode779 webrtc/api/webrtcsession.cc:779: pending_ice_restarts_.clear(); On 2016/02/19 21:59:26, Taylor Brandstetter wrote: > On ...
4 years, 10 months ago (2016-02-20 05:57:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1671173002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1671173002/180001
4 years, 10 months ago (2016-02-22 20:07:16 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_dbg/builds/5317) ios64_sim_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 10 months ago (2016-02-22 20:10:02 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1671173002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1671173002/180001
4 years, 10 months ago (2016-02-24 00:09:51 UTC) #22
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 10 months ago (2016-02-24 01:25:00 UTC) #24
commit-bot: I haz the power
4 years, 10 months ago (2016-02-24 01:25:03 UTC) #26
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/0ed85b2ee3079fb9597ec5e0eb5034a707c71aca
Cr-Commit-Position: refs/heads/master@{#11728}

Powered by Google App Engine
This is Rietveld 408576698