tech5678 wrote:
- Code: Select all
set GN_DEFINES=is_component_build=true enable_webrtc=false
After building and running the sample cefclient.exe, browsing to https://browserleaks.com/webrtc, WebRTC is still enabled and they are able to get various hardware ID's.
There is no more exist enable_webrtc build parameter, and i'm believe you can't just disable this module easy as it was in past.
"webrtc.ip_handling_policy", "webrtc.udp_port_range", "webrtc.event_logs_collection", "webrtc.local_ips_allowed_urls" and "webrtc.allow_legacy_tls_protocols" are seems like valid preferences which you may configure. Changing them doesn't requires custom builds, and you might end with good enough results without custom build. You also can check chrome flags related to WebRTC.
Is there somewhere else this change must be made?
If nothing helps, then there is always possible disable it hardly via blink patching. There is exist and other techniques, like script injection, but they less reliable (but more flexible).
I found an interesting post on StackOverflow where someone claims to have turned it off through modification of common.gypi (https://stackoverflow.com/questions/357 ... c-ip-leaks), which is now in a different file path, but at almost 5 hours to compile, I'd like to get validation of the idea of it first, since I don't see any mention of this anywhere else.
Nowadays you don't need to care about GYP, as it is tool used before GN. Just ignore it. Everything configurable can be configured via GN.