Skip to content

Commit 8f056c8

Browse files
RDK-57915: Disable ICE Candidate Filtering by default
Could be still enabled with config option Reason for change: Disable ICE Candidate Filtering by default Test Procedure: See Jira ticket Priority: P1 Risks: Low Signed-off-by: Andrzej Surdej <[email protected]>
1 parent 2233643 commit 8f056c8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

WebKitBrowser/WebKitImplementation.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2508,10 +2508,12 @@ namespace Plugin {
25082508
"enable-service-worker", _config.ServiceWorkerEnabled.Value(), nullptr);
25092509

25102510
// ICE candidate filtering
2511+
bool enableIceCandidateFiltering = false; // disable by default
25112512
if (_config.ICECandidateFilteringEnabled.IsSet()) {
2512-
g_object_set(G_OBJECT(preferences),
2513-
"enable-ice-candidate-filtering", _config.ICECandidateFilteringEnabled.Value(), nullptr);
2513+
enableIceCandidateFiltering = _config.ICECandidateFilteringEnabled.Value();
25142514
}
2515+
g_object_set(G_OBJECT(preferences),
2516+
"enable-ice-candidate-filtering", enableIceCandidateFiltering, nullptr);
25152517

25162518
_view = WEBKIT_WEB_VIEW(g_object_new(WEBKIT_TYPE_WEB_VIEW,
25172519
"backend", webkit_web_view_backend_new(wpe_view_backend_create(), nullptr, nullptr),

0 commit comments

Comments
 (0)