在Chrome中管理摄像头和麦克风的例外[已关闭]

b4wnujal  于 2022-12-06  发布在  Go
关注(0)|答案(1)|浏览(180)

**已关闭。**此问题不符合Stack Overflow guidelines。当前不接受答案。

此问题似乎与a specific programming problem, a software algorithm, or software tools primarily used by programmers无关。如果您认为此问题与another Stack Exchange site相关,您可以留下评论,说明在何处可以找到此问题的答案。
七年前就关门了。
Improve this question
我正试图破例让一个网站访问我的麦克风和摄像头:
chrome://settings/contentExceptions#media-stream不可编辑,是否正常?
如何添加规则?

jfewjypa

jfewjypa1#

It's not possible as you would expect. Reported as a bug here and closed as Status: WontFix. Details below.

14 freshst...@renuval.com Version: Version 28.0.1500.95 m OS: Windows 7 64 bit

We've read on an earlier Issue from 2011 that it's intended behavior as well, but some people on the same Issue weren't sure: https://code.google.com/p/chromium/issues/detail?id=71179
Chrome Help sites discuss the topic here:
https://support.google.com/chrome/answer/2693767?hl=en
Note that the Media Exceptions page doesn't explicitly say that you can add exceptions, it only says you can deny. It does, however, point you to the Manage Exceptions page on this topic which does say that you can add using a button. This looks like it's just unintentionally misleading.
After re-reading everything carefully, we assumed based on the help article that the only way to de facto allow an exception is to click "Allow" on a site requesting an exception that is running on HTTPS as Chrome will only remember your preference for Media Exceptions on HTTPS sites. It seems a bit restrictive for users who are savvy enough to edit their own security settings deep down in the menu tree, but security is security.

15 ser...@chromium.org

Thank you freshstart. This is exactly it. Https means that "allow" can stick.
Your question was also already answered on Super User :
You add a rule by going to the site in question and then, if Media setting is "Ask when a site wants to use a plug-in to access your computer", it should prompt you for what to do - that will then get set as a specific exception.
You only use Manage Exceptions to remove existing exceptions.
See Allow sites to access your camera and microphone and Manage exceptions
Another Stack Overflow answer had a workaround , but it reportedly does not work any more. Via How to allow Chrome to access my camera on localhost?.

相关问题