[WebRTC] ICE candidates should be filtered according a policy
[WebKit-https.git] / Source / WebKit2 / WebProcess / WebPage / WebPage.messages.in
index 0123aff..5291649 100644 (file)
@@ -306,6 +306,15 @@ messages -> WebPage LegacyReceiver {
 #endif
 #endif
 
+#if ENABLE(WEB_RTC)
+    DisableICECandidateFiltering()
+    EnableICECandidateFiltering()
+#endif
+#if ENABLE(WEB_RTC) && USE(LIBWEBRTC)
+    EnableEnumeratingAllNetworkInterfaces()
+    DisableEnumeratingAllNetworkInterfaces()
+#endif
+
     # Notification
     DidReceiveNotificationPermissionDecision(uint64_t notificationID, bool allowed)