


Variety of devices and browsers to be sure it is as broadly compatible as possible Security support, using different mechanisms. The originally-designed security mechanism is in the process ofīeing replaced with Feature Policy, so various browsers have different levels of Note: The security model for getUserMedia() is still Recording you, without discarding the permission to resume using the camera once muting Your camera's activity light goes out to indicate that the camera is not actively If you've muted your camera (so-called "facemuting"), The device's physical light is used to indicate whether or not The icon is gray if the permission is in place but recording is They must also show an indicator that permission hasīeen granted to use a device for input, even if the device is not actively recording atįor example in Firefox, the URL bar displays a pulsing red icon to indicate that Browsers are required to displayĪn indicator that shows that a camera or microphone is in use, above and beyond any Of equal importance are the rules around notification. Permission before opening any media gathering input such as a webcam or microphone.īrowsers may offer a once-per-domain permission feature, but they must ask at least theįirst time, and the user must specifically grant ongoing permission if they choose to do First, getUserMedia() must always get user

Held by the specification to very specific requirements for user notification and Will never even be asked for permission to use the input devices.įor additional details on these requirements and rules, how they are reflected in theĬontext in which your code is running, and about how browsers manage user privacy andĪs an API that may involve significant privacy concerns, getUserMedia() is Grants permission for a given to do so using Feature Policy. Permission to use getUserMedia(), unless the top-level context expressly Only a window's top-level document context for a valid origin can even request In addition, user permission is always required to access the user's audio and video Using HTTPS or the file:/// URL scheme, or a page loaded from A secure context is, in short, a page loaded GetUserMedia() is a powerful feature which can only be used in secure contexts in insecureĬontexts, diaDevices is undefined, preventingĪccess to getUserMedia(). Specification lays out a wide array of privacy and security requirements that browsers As an API that may involve significant privacy concerns, getUserMedia()'s
