当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Where can I disable WebRTC and PeerConnection?

  • 10 件の返信
  • 14 人がこの問題に困っています
  • 1268 回表示
  • 最後の返信者: philipp

more options

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.

選ばれた解決策

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

この回答をすべて読む 👍 6

すべての返信 (10)

more options

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/

more options

選ばれた解決策

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

more options

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.

more options

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

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 ?

more options

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;
}
more options

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.

more options

Thank you all! It was very helpful.

more options

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

more options

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