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

Unified Diff: content/public/common/renderer_preferences.h

Issue 1309543004: Create a new preference which disables UDP protocol for WebRTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/renderer_preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/renderer_preferences.h
diff --git a/content/public/common/renderer_preferences.h b/content/public/common/renderer_preferences.h
index 13dd30fb3b924db6387fdfad7021c98a13bf9cd8..1a6908135a1ea132926c00c9d21438f321b80593 100644
--- a/content/public/common/renderer_preferences.h
+++ b/content/public/common/renderer_preferences.h
@@ -99,6 +99,12 @@ struct CONTENT_EXPORT RendererPreferences {
// Set to false to indicate that WebRTC should use the OS default routing.
bool enable_webrtc_multiple_routes;
+ // Set to false to indicate that WebRTC should not use non-proxied UDP to
+ // connect to peers and TURN servers, which effectively disables all WebRTC's
+ // UDP traffic for now, until UDP-based proxy support is available in
+ // Chromium. Default is true.
+ bool enable_webrtc_nonproxied_udp_transport;
+
// Default page zoom level.
double default_zoom_level;
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/renderer_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698