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

Unified Diff: webrtc/p2p/base/testturnserver.h

Issue 1619213003: Include relay protocol type when computing the turn candidate foundation. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « webrtc/p2p/base/port_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/testturnserver.h
diff --git a/webrtc/p2p/base/testturnserver.h b/webrtc/p2p/base/testturnserver.h
index 7be35e534021e493943067ed896e63cae6ffc301..8660ae1ff27b5add65846ea50ac18e71b73ff765 100644
--- a/webrtc/p2p/base/testturnserver.h
+++ b/webrtc/p2p/base/testturnserver.h
@@ -49,10 +49,11 @@ class TestTurnRedirector : public TurnRedirectInterface {
class TestTurnServer : public TurnAuthInterface {
public:
TestTurnServer(rtc::Thread* thread,
- const rtc::SocketAddress& udp_int_addr,
- const rtc::SocketAddress& udp_ext_addr)
+ const rtc::SocketAddress& int_addr,
+ const rtc::SocketAddress& udp_ext_addr,
+ ProtocolType int_protocol = PROTO_UDP)
: server_(thread) {
- AddInternalSocket(udp_int_addr, cricket::PROTO_UDP);
+ AddInternalSocket(int_addr, int_protocol);
server_.SetExternalSocketFactory(new rtc::BasicPacketSocketFactory(),
udp_ext_addr);
server_.set_realm(kTestRealm);
« no previous file with comments | « webrtc/p2p/base/port_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698