Index: webrtc/p2p/base/portallocator.h |
diff --git a/webrtc/p2p/base/portallocator.h b/webrtc/p2p/base/portallocator.h |
index c89684727b72c475df46f770fe3845934d70dbcb..8c1ccb44a4d335c8a5c4a82e2764f825f524f967 100644 |
--- a/webrtc/p2p/base/portallocator.h |
+++ b/webrtc/p2p/base/portallocator.h |
@@ -46,6 +46,9 @@ enum { |
// When specified, a loopback candidate will be generated if |
// PORTALLOCATOR_DISABLE_ADAPTER_ENUMERATION is specified. |
PORTALLOCATOR_ENABLE_LOCALHOST_CANDIDATE = 0x800, |
+ // Disallow to use UDP when connecting to relay server. Using UDP could leak |
+ // IP address. |
pthatcher1
2015/08/25 22:59:30
Disallow to use => Disallow use of
to relay serve
|
+ PORTALLOCATOR_DISABLE_TURN_OVER_UDP = 0x1000, |
pthatcher1
2015/08/25 22:59:30
Would PORTALLOCATOR_DISABLE_UDP_TURN be equally cl
|
}; |
const uint32 kDefaultPortAllocatorFlags = 0; |