fddima wrote:The only reliable way to completely disable WebRTC is do private CEF build with GN_DEFINE [c]enable_webrtc=false[/c].
[...] Also in that case device ids still may leak. Because device ids can be used for intelligent user tracking, from my understanding - is the only way to deal with them, is completely disable webrtc. Note, that having always random device IDs on each near-persistent user session also subject for user "banning". So if you trying to be anonymous: it is better doesn't provide any info, rather than provide random info.
I modified c:\code\chromium_git\update.bat as follows:
- Code: Select all
set GN_DEFINES=is_component_build=true enable_webrtc=false
And c:\code\chromium_git\chromium\src\cef\create.bat:
- 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.
Is there somewhere else this change must be made?
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.