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

Issue 1510333002: Cleanups in WebrtcTransport. (Closed)

Created:
5 years ago by Sergey Ulanov
Modified:
5 years ago
Reviewers:
Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanups in WebrtcTransport. This change includes several changes needed in the Webrtc-based transport: 1. WebrtcTransportFactory no longer owns the worker thread. Instead the calling code must provide a thread that has been started already. This also allows to make WebrtcTransport::Start() synchronous. 2. The direction in which offer and answer is sent is reversed. The host sends offer to the client and the client replies with an answer. 3. Offer is generated only after OnRenegotiationNeeded() notification is received. 4. The |is_server| flag in WebrtcDataStreamAdapter is replaced with |outgoing|, so connections may be created in either direction. BUG=547158 Committed: https://crrev.com/10ffce873cf392b9d48a28fe1282f42f33b28e96 Cr-Commit-Position: refs/heads/master@{#364155}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -99 lines) Patch
M remoting/protocol/webrtc_data_stream_adapter.h View 2 chunks +8 lines, -2 lines 0 comments Download
M remoting/protocol/webrtc_data_stream_adapter.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M remoting/protocol/webrtc_transport.h View 8 chunks +21 lines, -11 lines 0 comments Download
M remoting/protocol/webrtc_transport.cc View 13 chunks +87 lines, -79 lines 2 comments Download
M remoting/protocol/webrtc_transport_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (5 generated)
Sergey Ulanov
5 years ago (2015-12-09 19:10:04 UTC) #3
Jamie
lgtm https://codereview.chromium.org/1510333002/diff/1/remoting/protocol/webrtc_transport.cc File remoting/protocol/webrtc_transport.cc (right): https://codereview.chromium.org/1510333002/diff/1/remoting/protocol/webrtc_transport.cc#newcode137 remoting/protocol/webrtc_transport.cc:137: webrtc::FakeConstraints constraints; Unrelated to this CL, but why ...
5 years ago (2015-12-09 19:42:23 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/1510333002/diff/1/remoting/protocol/webrtc_transport.cc File remoting/protocol/webrtc_transport.cc (right): https://codereview.chromium.org/1510333002/diff/1/remoting/protocol/webrtc_transport.cc#newcode137 remoting/protocol/webrtc_transport.cc:137: webrtc::FakeConstraints constraints; On 2015/12/09 19:42:22, Jamie wrote: > Unrelated ...
5 years ago (2015-12-09 19:57:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1510333002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1510333002/1
5 years ago (2015-12-09 19:59:04 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-09 21:12:13 UTC) #9
commit-bot: I haz the power
5 years ago (2015-12-09 21:13:03 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/10ffce873cf392b9d48a28fe1282f42f33b28e96
Cr-Commit-Position: refs/heads/master@{#364155}

Powered by Google App Engine
This is Rietveld 408576698