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

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

Issue 2093623004: Add config to prune TURN ports (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Merge branch 'master' into turn_port_exposer 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.h
diff --git a/webrtc/p2p/base/relayport.h b/webrtc/p2p/base/relayport.h
index 402736c34dbc1747f7992bca521c1256dfc7a68d..8fa2235043095e0d6a3158c0d461208ecb70ae0e 100644
--- a/webrtc/p2p/base/relayport.h
+++ b/webrtc/p2p/base/relayport.h
@@ -68,6 +68,12 @@ class RelayPort : public Port {
const ProtocolAddress * ServerAddress(size_t index) const;
bool IsReady() { return ready_; }
+ ProtocolType GetProtocol() const override {
+ // We shouldn't be using RelayPort, but we need to provide an
+ // implementation here.
+ return PROTO_UDP;
+ }
+
// Used for testing.
sigslot::signal1<const ProtocolAddress*> SignalConnectFailure;
sigslot::signal1<const ProtocolAddress*> SignalSoftTimeout;

Powered by Google App Engine
This is Rietveld 408576698