Can we disable WebRTC in CEF 3 ?
I`m referring specifically to JavaScript access to local ips. Chrome seems to have settings like chrome.privacy.network.webRTCMultipleRoutesEnabled that help - but these do not seem to exist in CEF.
Can we disable WebRTC in CEF 3 ?
I`m referring specifically to JavaScript access to local ips. Chrome seems to have settings like chrome.privacy.network.webRTCMultipleRoutesEnabled that help - but these do not seem to exist in CEF.
I had same problem and ended up rebuilding CEF and Chrome without WebRTC support. Here is steps, which I use:
Create batch with following content and run it:
SET GYP_MSVS_VERSION=2015
python c:/code/automate/automate-git.py --verbose-build --download-dir=C:/code/chromium_git --branch=[REPLACE WITH CURRENT BRANCH] --minimal-distrib --no-debug-build --force-build
pause
Set enable_webrtc to 0 inside C:\code\chromium_git\chromium\src\build\common.gypi file.
Run batch again.
And maybe there there is easier way, for example, using CefRequestContext::SetPreference
.