Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

Where can I disable WebRTC and PeerConnection?

  • 10 odgovora
  • 14 ima ovaj problem
  • 2441 prikaz
  • Posljednji odgovor od philipp

više opcija

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.

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.

Izabrano rješenje

Set media.peerconnection.enabled to false in about:config.

Pročitaj ovaj odgovor u kontekstu 👍 6

Svi odgovori (10)

više opcija

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).

https://hacks.mozilla.org/2013/06/webrtc-comes-to-firefox/

više opcija

Odabrano rješenje

Set media.peerconnection.enabled to false in about:config.

više opcija

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.

više opcija

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

  1. go to about:config
    see http://kb.mozillazine.org/About:config
  2. accept any warning
  3. use the search (my take a few seconds) filter for media.navigator
  4. right clicking gives you options to reset or toggle values.
    In most cases the effect is immediate.
više opcija

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 ?

više opcija

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;
}
više opcija

Hi Cor-el,

I do not understand c++ but I see

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.

više opcija

Thank you all! It was very helpful.

više opcija

"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/

više opcija

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...