Where can I disable WebRTC and PeerConnection?
I had read that in FF v22 Web RTC (Real Time Connections, PeerConnection and DataChannels) are enabled by default. This is a big no-no for me.
Where can I turn them off, is it possible to do this in one click (as for JavaScript or images)?
Will they bypass disabled in Windows Remote Access service?
Anything else I can do to block peer-to-peer and any remote access to my computer, while reading the Web will remain possible?
Thank you.
被選擇的解決方法
Set media.peerconnection.enabled to false in about:config.
從原來的回覆中察看解決方案 👍 6所有回覆 (10)
hello, of course there's no automatic peer-to-peer access to your computer while you're surfing the web. in case a website is making use of those capabilities to offer their service, you will presented with a panel which asks if access should be allowed (similar to how the access to geolocation is handled today).
選擇的解決方法
Set media.peerconnection.enabled to false in about:config.
Try this demo page http://mozilla.github.io/webrtc-landing/gum_test.html
Although enabled it will still warn you before sharing. I will try to work out how to disable it,I imagine there will be a pref.
I did find two prefs that I thought were related to disabling WebRTC but they do not seem to work for me even after a restart.
- media.navigator.enabled
- media.navigator.permission.disabled
You could try them and see if they work for you
- go to about:config
see http://kb.mozillazine.org/About:config - accept any warning
- use the search (my take a few seconds) filter for media.navigator
- right clicking gives you options to reset or toggle values.
In most cases the effect is immediate.
Thanks Gingerbread_Man
but I have tried that myself just now and it is not preventing me using WebRTC video, although the value is remaining as false in about.config before and after I try.
- media.peerconnection.enabled;false
Have you tried it yourself does it work for you ?
Be careful with media.navigator.permission.disabled:
// Developer preference for turning off permission check. if (Preferences::GetBool("media.navigator.permission.disabled", false)) { aPrivileged = true; }
// Make enabling peerconnection enable getUserMedia() as well if (!(Preferences::GetBool("media.navigator.enabled", false) || Preferences::GetBool("media.peerconnection.enabled", false))) { return NS_OK; }
Hi Cor-el,
I do not understand c++ but I see
- http://mxr.mozilla.org/mozilla-central/source/dom/media/MediaManager.cpp#1061
- media.navigator.permission.disabled relates to a developer pref.
Presumably it should not ordinarily be used.
- media.navigator.permission.disabled
has a default value of False.
What is the correct answer to the op question please. Is it not possible to totally disable this feature now ?
As I mentioned above Setting media.peerconnection.enabled;false is not disabling the feature for me.
Thank you all! It was very helpful.
"you will presented with a panel which asks if access should be allowed"
This site seems to be able to use it without any permission popup: http://www.sharefest.me/
on the page you have to actively drag content into the page for an action to be triggered - i don't think this is anything new in particular, since drag & drop file uploading (in gmail, google image search, dropbox, etc.) is working for quite a while before firefox 22 was released already...