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

Unified Diff: webrtc/p2p/base/relayport.cc

Issue 2063823008: Adding IceConfig option to assume TURN/TURN candidate pairs will work. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Responding to comments. Doing "presumed writable" determination in Connection. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/p2p/base/relayport.cc
diff --git a/webrtc/p2p/base/relayport.cc b/webrtc/p2p/base/relayport.cc
index 21dc41a126a222ff371457e2c0bf8dcec4978673..da5e789d268665b407164ba6f89dc24e5627b4e0 100644
--- a/webrtc/p2p/base/relayport.cc
+++ b/webrtc/p2p/base/relayport.cc
@@ -276,7 +276,8 @@ void RelayPort::PrepareAddress() {
}
Connection* RelayPort::CreateConnection(const Candidate& address,
- CandidateOrigin origin) {
+ CandidateOrigin origin,
+ const IceConfig& config) {
// We only create conns to non-udp sockets if they are incoming on this port
if ((address.protocol() != UDP_PROTOCOL_NAME) &&
(origin != ORIGIN_THIS_PORT)) {
@@ -301,7 +302,7 @@ Connection* RelayPort::CreateConnection(const Candidate& address,
}
}
- Connection * conn = new ProxyConnection(this, index, address);
+ Connection* conn = new ProxyConnection(this, index, address, config);
AddOrReplaceConnection(conn);
return conn;
}

Powered by Google App Engine
This is Rietveld 408576698