Index: webrtc/p2p/base/portallocator.h |
diff --git a/webrtc/p2p/base/portallocator.h b/webrtc/p2p/base/portallocator.h |
index 3c81068060a3a717f94e329db7ed541dc86c9e51..ba6ad37d24bf45e177a77c4d87cf6bbdc1041a54 100644 |
--- a/webrtc/p2p/base/portallocator.h |
+++ b/webrtc/p2p/base/portallocator.h |
@@ -119,11 +119,23 @@ struct RelayServerConfig { |
int port, |
const std::string& username, |
const std::string& password, |
+ ProtocolType proto) |
+ : RelayServerConfig(address, |
+ port, |
+ username, |
+ password, |
+ proto, |
+ PROTO_FLAG_NONE) {} |
+ |
+ RelayServerConfig(const std::string& address, |
+ int port, |
+ const std::string& username, |
+ const std::string& password, |
ProtocolType proto, |
- bool secure) |
Taylor Brandstetter
2016/12/08 01:36:40
You should keep this constructor around for backwa
hnsl1
2016/12/12 16:08:13
Done.
|
+ ProtocolFlags flags) |
: type(RELAY_TURN), credentials(username, password) { |
ports.push_back( |
- ProtocolAddress(rtc::SocketAddress(address, port), proto, secure)); |
+ ProtocolAddress(rtc::SocketAddress(address, port), proto, flags)); |
} |
bool operator==(const RelayServerConfig& o) const { |