Index: webrtc/p2p/base/relayport.h |
diff --git a/webrtc/p2p/base/relayport.h b/webrtc/p2p/base/relayport.h |
index 8452b5b430eb750c6169024365167f70defac4f5..4b74b91ade67ac62a74e4bc1c6e8ef715fe0db1a 100644 |
--- a/webrtc/p2p/base/relayport.h |
+++ b/webrtc/p2p/base/relayport.h |
@@ -60,6 +60,10 @@ class RelayPort : public Port { |
virtual int SetOption(rtc::Socket::Option opt, int value); |
virtual int GetOption(rtc::Socket::Option opt, int* value); |
virtual int GetError(); |
+ virtual bool SupportsProtocol(const std::string& protocol) const { |
+ // Relay port may create both TCP and UDP connections. |
+ return true; |
+ } |
const ProtocolAddress * ServerAddress(size_t index) const; |
bool IsReady() { return ready_; } |