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

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

Issue 2936553003: Adding PortAllocator option to support cases where sockets can't be bound. (Closed)
Patch Set: Comment fixes Created 3 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/portallocator.h
diff --git a/webrtc/p2p/base/portallocator.h b/webrtc/p2p/base/portallocator.h
index a77b037e7294133973f83bc41f49ba2dabb836bc..a74acce96d49c1288aaca9637b85f4c428fb6a5c 100644
--- a/webrtc/p2p/base/portallocator.h
+++ b/webrtc/p2p/base/portallocator.h
@@ -77,6 +77,14 @@ enum {
// When specified, do not collect IPv6 ICE candidates on Wi-Fi.
PORTALLOCATOR_ENABLE_IPV6_ON_WIFI = 0x4000,
+
+ // When this flag is set, ports will be created not bound to any specific
pthatcher1 2017/06/13 19:52:50 "created not bound" => "created but not bound"
Taylor Brandstetter 2017/06/13 22:11:18 Revised comment.
+ // network interface, in addition to normal ports. Without this flag, these
+ // ports would only be used when network enumeration fails or is disabled.
+ // But under certain conditions, these ports may succeed where others fail,
+ // so they may allow the application to work in a wider variety of
+ // environments, at the expense of having to allocate additional candidates.
+ PORTALLOCATOR_ENABLE_ANY_ADDRESS_PORTS = 0x8000,
};
// Defines various reasons that have caused ICE regathering.

Powered by Google App Engine
This is Rietveld 408576698