Specification
https://w3c.github.io/mediacapture-extensions/#the-camera-html-element
https://w3c.github.io/mediacapture-extensions/#the-microphone-html-element
Description
The <camera> and <microphone> HTML elements works the same as the <usermedia> element but requesting single camera or microphone access directly within a user's workflow. This new elements move beyond traditional permission management by facilitating seamless, direct interaction with media streams, thereby simplifying technical implementation for developers by reducing or eliminating the need for independent JavaScript API calls.
Browser support
Chromium: in progress (Origin Trial, MVP planned)
WebKit / Mozilla: public signal mozilla/standards-positions#1245, WICG/PEPC#88 (comment).
Documentation
Explainer : https://github.com/w3c/mediacapture-extensions/blob/main/media-capture-elements-explainer.md
Chrome status: https://chromestatus.com/feature/4926233538330624
Browser support
Chromium: in progress (Origin Trial, MVP planned)
WebKit / Mozilla: public signal mozilla/standards-positions#1245, WICG/PEPC#88 (comment).
Specification
https://w3c.github.io/mediacapture-extensions/#the-camera-html-element
https://w3c.github.io/mediacapture-extensions/#the-microphone-html-element
Description
The
<camera>and<microphone>HTML elements works the same as the<usermedia>element but requesting single camera or microphone access directly within a user's workflow. This new elements move beyond traditional permission management by facilitating seamless, direct interaction with media streams, thereby simplifying technical implementation for developers by reducing or eliminating the need for independent JavaScript API calls.Browser support
Chromium: in progress (Origin Trial, MVP planned)
WebKit / Mozilla: public signal mozilla/standards-positions#1245, WICG/PEPC#88 (comment).
Documentation
Explainer : https://github.com/w3c/mediacapture-extensions/blob/main/media-capture-elements-explainer.md
Chrome status: https://chromestatus.com/feature/4926233538330624
Browser support
Chromium: in progress (Origin Trial, MVP planned)
WebKit / Mozilla: public signal mozilla/standards-positions#1245, WICG/PEPC#88 (comment).