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

Issue 1516993002: Properly handle different transports having different SSL roles. (Closed)

Created:
5 years ago by Taylor Brandstetter
Modified:
4 years, 11 months ago
Reviewers:
pthatcher1
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

Properly handle different transports having different SSL roles. This meant splitting "transport_options" into audio/video/data options, for when creating the answer, and giving "GetSslRole" a "transport_name" parameter so we can retrieve the current role on a per-transport basis. BUG=webrtc:4525 R=pthatcher@webrtc.org Committed: https://crrev.com/f475d365a25036725c3f545f57de59d2cc902d17 Cr-Commit-Position: refs/heads/master@{#11192}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Enable BUNDLE before setting transport descriptions (on transports about to be deleted) #

Patch Set 3 : Fixing another issue and adding to the unit test. #

Patch Set 4 : Fixing merge conflicts. #

Total comments: 6

Patch Set 5 : Adding a helper method for GetSslRole, and some more comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -55 lines) Patch
M talk/app/webrtc/peerconnection.cc View 1 2 3 4 5 chunks +14 lines, -6 lines 0 comments Download
M talk/app/webrtc/peerconnectioninterface_unittest.cc View 1 2 3 2 chunks +10 lines, -4 lines 0 comments Download
M talk/app/webrtc/webrtcsession.h View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M talk/app/webrtc/webrtcsession.cc View 1 2 3 4 3 chunks +14 lines, -6 lines 0 comments Download
M talk/app/webrtc/webrtcsession_unittest.cc View 1 2 3 3 chunks +67 lines, -2 lines 0 comments Download
M talk/app/webrtc/webrtcsessiondescriptionfactory.cc View 1 2 3 4 3 chunks +22 lines, -5 lines 0 comments Download
M talk/session/media/mediasession.h View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M talk/session/media/mediasession.cc View 1 2 3 9 chunks +17 lines, -17 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.h View 2 chunks +2 lines, -6 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.cc View 2 chunks +10 lines, -6 lines 0 comments Download
M webrtc/p2p/base/transportcontroller_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
Taylor Brandstetter
Note that it may seem redundant how "ice_restart" is duplicated 3 times even though it's ...
5 years ago (2015-12-10 21:59:02 UTC) #2
pthatcher1
https://codereview.webrtc.org/1516993002/diff/1/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1516993002/diff/1/talk/app/webrtc/peerconnection.cc#newcode1065 talk/app/webrtc/peerconnection.cc:1065: session_->data_channel() && This is duplicated a lot. Perhaps make ...
5 years ago (2015-12-11 03:16:09 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1516993002/diff/1/talk/session/media/mediasession.h File talk/session/media/mediasession.h (right): https://codereview.webrtc.org/1516993002/diff/1/talk/session/media/mediasession.h#newcode149 talk/session/media/mediasession.h:149: TransportOptions data_transport_options; On 2015/12/11 03:16:09, pthatcher1 wrote: > At ...
5 years ago (2015-12-11 18:40:02 UTC) #4
Taylor Brandstetter
On 2015/12/11 18:40:02, Taylor Brandstetter wrote: > https://codereview.webrtc.org/1516993002/diff/1/talk/session/media/mediasession.h > File talk/session/media/mediasession.h (right): > > https://codereview.webrtc.org/1516993002/diff/1/talk/session/media/mediasession.h#newcode149 ...
4 years, 11 months ago (2016-01-07 20:57:06 UTC) #5
pthatcher1
https://codereview.webrtc.org/1516993002/diff/60001/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1516993002/diff/60001/talk/app/webrtc/peerconnection.cc#newcode974 talk/app/webrtc/peerconnection.cc:974: session_->GetSslRole(session_->data_channel()->transport_name(), &role)) { Can you make a method so ...
4 years, 11 months ago (2016-01-07 21:12:03 UTC) #6
Taylor Brandstetter
https://codereview.webrtc.org/1516993002/diff/1/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1516993002/diff/1/talk/app/webrtc/peerconnection.cc#newcode1065 talk/app/webrtc/peerconnection.cc:1065: session_->data_channel() && On 2015/12/11 03:16:09, pthatcher1 wrote: > This ...
4 years, 11 months ago (2016-01-07 22:25:55 UTC) #7
pthatcher1
lgtm
4 years, 11 months ago (2016-01-07 23:53:53 UTC) #8
Taylor Brandstetter
Committed patchset #5 (id:80001) manually as f475d365a25036725c3f545f57de59d2cc902d17 (presubmit successful).
4 years, 11 months ago (2016-01-08 23:36:11 UTC) #10
commit-bot: I haz the power
4 years, 11 months ago (2016-01-08 23:36:12 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f475d365a25036725c3f545f57de59d2cc902d17
Cr-Commit-Position: refs/heads/master@{#11192}

Powered by Google App Engine
This is Rietveld 408576698