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

Issue 2166873002: Modified PeerConnection and WebRtcSession for end-to-end QuicDataChannel usage. (Closed)

Created:
4 years, 5 months ago by Zhi Huang
Modified:
4 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Modified PeerConnection and WebRtcSession for end-to-end QuicDataChannel usage. To allow end-to-end QuicDataChannel usage with a PeerConnection, RTCConfiguration has been modified to include a boolean for whether to do QUIC, since negotiation of QUIC is not implemented. If one peer does QUIC, then it will be assumed that the other peer must do QUIC or the connection will fail. PeerConnection has been modified to create data channels of type QuicDataChannel when the peer wants to do QUIC. WebRtcSession has ben modified to use a QuicDataTransport instead of a DtlsTransportChannelWrapper/DataChannel when QUIC should be used QuicDataTransport implements the generic functions of BaseChannel to manage the QuicTransportChannel. Committed: https://crrev.com/34b54c36a533dadb6ceb70795119194e6f530ef5 Committed: https://crrev.com/9763d56464b9f660e21a6737a73155009d5b3e00 Cr-Original-Commit-Position: refs/heads/master@{#13645} Cr-Commit-Position: refs/heads/master@{#13657}

Patch Set 1 #

Patch Set 2 : Minor fix. #

Total comments: 32

Patch Set 3 : cr comments #

Patch Set 4 : Minor fix in unit tests. #

Patch Set 5 : Minor changes. #

Total comments: 15

Patch Set 6 : Modified the quicdatatransport and faketransportcontroller. #

Total comments: 6

Patch Set 7 : Expose the ice transport channel from QuicTransportChannel. #

Total comments: 1

Patch Set 8 : Minor fix. #

Patch Set 9 : Fix the broken test in Chromium. #

Total comments: 1

Patch Set 10 : Change the comments and minor fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+554 lines, -163 lines) Patch
M webrtc/api/peerconnection.cc View 1 2 3 4 5 6 7 8 9 4 chunks +36 lines, -4 lines 0 comments Download
M webrtc/api/peerconnection_unittest.cc View 1 2 3 4 5 6 7 12 chunks +107 lines, -24 lines 0 comments Download
M webrtc/api/peerconnectionendtoend_unittest.cc View 4 chunks +83 lines, -2 lines 0 comments Download
M webrtc/api/peerconnectioninterface.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/peerconnectioninterface_unittest.cc View 1 2 3 4 5 6 32 chunks +66 lines, -65 lines 0 comments Download
M webrtc/api/quicdatatransport.h View 1 2 3 4 5 5 chunks +28 lines, -6 lines 0 comments Download
M webrtc/api/quicdatatransport.cc View 1 2 3 4 5 3 chunks +53 lines, -6 lines 0 comments Download
M webrtc/api/quicdatatransport_unittest.cc View 1 2 3 4 5 6 13 chunks +25 lines, -31 lines 0 comments Download
M webrtc/api/test/peerconnectiontestwrapper.h View 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/api/test/peerconnectiontestwrapper.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M webrtc/api/webrtcsession.h View 1 2 3 4 5 6 7 8 7 chunks +23 lines, -0 lines 0 comments Download
M webrtc/api/webrtcsession.cc View 1 2 3 4 5 6 11 chunks +76 lines, -11 lines 0 comments Download
M webrtc/api/webrtcsession_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +24 lines, -2 lines 0 comments Download
M webrtc/media/base/mediaengine.h View 1 chunk +1 line, -5 lines 0 comments Download
M webrtc/p2p/base/faketransportcontroller.h View 1 2 3 4 5 6 7 3 chunks +24 lines, -0 lines 0 comments Download
M webrtc/p2p/quic/quictransportchannel.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (20 generated)
Zhi Huang
4 years, 5 months ago (2016-07-20 19:50:42 UTC) #4
Taylor Brandstetter
My main question is: can we really support changing the transport of a QuicDataChannel? My ...
4 years, 5 months ago (2016-07-21 23:39:57 UTC) #5
pthatcher1
On 2016/07/21 23:39:57, Taylor Brandstetter wrote: > My main question is: can we really support ...
4 years, 5 months ago (2016-07-22 09:44:40 UTC) #6
pthatcher1
https://codereview.webrtc.org/2166873002/diff/20001/webrtc/api/quicdatatransport.cc File webrtc/api/quicdatatransport.cc (right): https://codereview.webrtc.org/2166873002/diff/20001/webrtc/api/quicdatatransport.cc#newcode90 webrtc/api/quicdatatransport.cc:90: bool QuicDataTransport::SetTransport_n(const std::string& transport_name) { On 2016/07/21 23:39:57, Taylor ...
4 years, 5 months ago (2016-07-22 10:46:03 UTC) #7
pthatcher1
https://codereview.webrtc.org/2166873002/diff/20001/webrtc/api/quicdatachannel.cc File webrtc/api/quicdatachannel.cc (right): https://codereview.webrtc.org/2166873002/diff/20001/webrtc/api/quicdatachannel.cc#newcode242 webrtc/api/quicdatachannel.cc:242: // Set new transport channel. On 2016/07/21 23:39:57, Taylor ...
4 years, 5 months ago (2016-07-22 17:57:57 UTC) #8
Taylor Brandstetter
On 2016/07/22 09:44:40, pthatcher1 wrote: > On 2016/07/21 23:39:57, Taylor Brandstetter wrote: > > My ...
4 years, 5 months ago (2016-07-22 19:04:01 UTC) #9
Taylor Brandstetter
https://codereview.webrtc.org/2166873002/diff/20001/webrtc/api/quicdatachannel.cc File webrtc/api/quicdatachannel.cc (right): https://codereview.webrtc.org/2166873002/diff/20001/webrtc/api/quicdatachannel.cc#newcode242 webrtc/api/quicdatachannel.cc:242: // Set new transport channel. On 2016/07/22 17:57:57, pthatcher1 ...
4 years, 5 months ago (2016-07-22 19:04:56 UTC) #10
Zhi Huang
https://codereview.webrtc.org/2166873002/diff/20001/webrtc/api/quicdatachannel.cc File webrtc/api/quicdatachannel.cc (right): https://codereview.webrtc.org/2166873002/diff/20001/webrtc/api/quicdatachannel.cc#newcode242 webrtc/api/quicdatachannel.cc:242: // Set new transport channel. On 2016/07/22 19:04:56, Taylor ...
4 years, 4 months ago (2016-07-25 23:40:36 UTC) #11
pthatcher1
Pretty close. https://codereview.webrtc.org/2166873002/diff/80001/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (right): https://codereview.webrtc.org/2166873002/diff/80001/webrtc/api/peerconnection.cc#newcode903 webrtc/api/peerconnection.cc:903: // TODO(mikescarlett): Handle case when config is ...
4 years, 4 months ago (2016-07-27 23:21:49 UTC) #12
Zhi Huang
https://codereview.webrtc.org/2166873002/diff/80001/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (right): https://codereview.webrtc.org/2166873002/diff/80001/webrtc/api/peerconnection.cc#newcode903 webrtc/api/peerconnection.cc:903: // TODO(mikescarlett): Handle case when config is NULL. On ...
4 years, 4 months ago (2016-08-01 05:12:28 UTC) #16
Taylor Brandstetter
Looks good, I just have a couple more minor concerns about the tests. SIDENOTE: This ...
4 years, 4 months ago (2016-08-01 18:05:03 UTC) #17
Zhi Huang
https://codereview.webrtc.org/2166873002/diff/160001/webrtc/api/quicdatatransport_unittest.cc File webrtc/api/quicdatatransport_unittest.cc (left): https://codereview.webrtc.org/2166873002/diff/160001/webrtc/api/quicdatatransport_unittest.cc#oldcode355 webrtc/api/quicdatatransport_unittest.cc:355: On 2016/08/01 18:05:03, Taylor Brandstetter wrote: > Do we ...
4 years, 4 months ago (2016-08-01 23:56:22 UTC) #22
Taylor Brandstetter
lgtm https://codereview.webrtc.org/2166873002/diff/260001/webrtc/p2p/base/faketransportcontroller.h File webrtc/p2p/base/faketransportcontroller.h (right): https://codereview.webrtc.org/2166873002/diff/260001/webrtc/p2p/base/faketransportcontroller.h#newcode468 webrtc/p2p/base/faketransportcontroller.h:468: FakeTransportChannel* fake_ice_transport_channel_ = nit: Since this is a ...
4 years, 4 months ago (2016-08-02 23:55:33 UTC) #23
pthatcher1
On 2016/08/01 18:05:03, Taylor Brandstetter wrote: > Looks good, I just have a couple more ...
4 years, 4 months ago (2016-08-03 22:18:22 UTC) #24
pthatcher1
lgtm
4 years, 4 months ago (2016-08-03 22:20:15 UTC) #25
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/2166873002/280001
4 years, 4 months ago (2016-08-04 17:25:05 UTC) #28
commit-bot: I haz the power
Committed patchset #8 (id:280001)
4 years, 4 months ago (2016-08-04 18:06:55 UTC) #30
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/34b54c36a533dadb6ceb70795119194e6f530ef5 Cr-Commit-Position: refs/heads/master@{#13645}
4 years, 4 months ago (2016-08-04 18:07:07 UTC) #32
Taylor Brandstetter
A revert of this CL (patchset #8 id:280001) has been created in https://codereview.webrtc.org/2206793007/ by deadbeef@webrtc.org. ...
4 years, 4 months ago (2016-08-04 19:22:01 UTC) #33
Taylor Brandstetter
https://codereview.webrtc.org/2166873002/diff/300001/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (right): https://codereview.webrtc.org/2166873002/diff/300001/webrtc/api/peerconnection.cc#newcode1639 webrtc/api/peerconnection.cc:1639: // condition. Otherwise the unit tests in WebRtcDataBrowserTest will ...
4 years, 4 months ago (2016-08-04 22:53:21 UTC) #35
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/2166873002/340001
4 years, 4 months ago (2016-08-05 17:49:54 UTC) #39
commit-bot: I haz the power
Committed patchset #10 (id:340001)
4 years, 4 months ago (2016-08-05 18:14:54 UTC) #41
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 18:15:05 UTC) #43
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/9763d56464b9f660e21a6737a73155009d5b3e00
Cr-Commit-Position: refs/heads/master@{#13657}

Powered by Google App Engine
This is Rietveld 408576698