Page 2 of 2

Re: disable webrtc

PostPosted: Fri Sep 04, 2015 4:40 am
by gluester
magreenblatt wrote:
gluester wrote:Any updates on this yet?

There is no way to disable it currently.

Ok i didnt think so where can i submit this as a feature request?
or how would i look into doing it myself?

Re: disable webrtc

PostPosted: Fri Sep 04, 2015 6:32 am
by magreenblatt
gluester wrote:
magreenblatt wrote:
gluester wrote:Any updates on this yet?

There is no way to disable it currently.

Ok i didnt think so where can i submit this as a feature request?
or how would i look into doing it myself?

You can submit a feature request in the CEF issue tracker. If you identify the specific JS APIs that the site is using you can search for the implementation using the Chromium Code search tool: https://code.google.com/p/chromium/codesearch#/

Re: disable webrtc

PostPosted: Fri Sep 18, 2015 6:26 am
by gluester
magreenblatt wrote:
gluester wrote:Any updates on this yet?

There is no way to disable it currently.

will there be?
where can i open a request for it?

Re: disable webrtc

PostPosted: Fri Sep 18, 2015 7:58 am
by magreenblatt
gluester wrote:
magreenblatt wrote:
gluester wrote:Any updates on this yet?

There is no way to disable it currently.

will there be?
where can i open a request for it?

http://crbug.com/new

Re: disable webrtc

PostPosted: Mon Jun 06, 2016 4:07 pm
by fddima
WebRTC's IP leaking can lowered/avoided by setting preferences:

Code: Select all
// This options obsoleted from Chromium M50, but still exists in source/work on latest stable (51).
webrtc.multiple_routes_enabled  to  false
webrtc.nonproxied_udp_enabled   to false

// See webrtc_ip_handling_policy.h for description
webrtc.ip_handling_policy   to   disable_non_proxied_udp


But i'm have other question: can be unique device ids (media device id fingerprints) cleared? Or somehow shuffled?
I'm found in chromium code media.device_id_salt preference used for this, but when i'm trying set it in CEF - it is says that this preference is not registered.
I'm found that CEF contains probably related media_capture_devices_dispatcher class, so will glad for any advices how to do it in most simple way.
Or probably it is even easier to disable it is during build (that's acceptable for me). Any suggestions how to do this (where to read about)?

PS: cefclient by default is not show IP's (checked by https://www.browserleaks.com/webrtc ), but in my browser based on same version - it is leak IPs by default. Not sure what's difference.

UPD: For me preferred way is not clearing device list, but change device ids/salt for each request context. But "clearing" (disabling enumeration) is also good option.

UPD2: In cefclient IP's leaked too. Sometimes they are not detected.

Re: disable webrtc

PostPosted: Mon Jun 06, 2016 4:14 pm
by magreenblatt
Looks like media.device_id_salt is only used in chrome: https://cs.chromium.org/search/?q=kMedi ... um&type=cs

Where did you get the cefclient build that you're testing with? Perhaps it's build with buildtype=Official and your build isn't?

Re: disable webrtc

PostPosted: Mon Jun 06, 2016 4:18 pm
by fddima
magreenblatt wrote:Looks like media.device_id_salt is only used in chrome: https://cs.chromium.org/search/?q=kMedi ... um&type=cs

Where did you get the cefclient build that you're testing with? Perhaps it's build with buildtype=Official and your build isn't?


I'm use own build with buildtype=Official. Why you ask about build type? I'm update previous post about cefclient. It is work same as my app.

Re: disable webrtc

PostPosted: Mon Jun 06, 2016 4:32 pm
by fddima
Well, i'm found enable_webrtc option, that can disable it during build. Will try it later.