v149 · HTML · demo
Stream Controller
A live demonstration of <usermedia>: request camera or microphone access via the browser-controlled element, then watch the streamready and userchangedenabled events log in real time as you interact.
<usermedia> requires Chrome 149 or later. In older browsers, fall back to
navigator.mediaDevices.getUserMedia().
No stream — click element to start
No video stream
MUTED
element.stream
null
element.enabled
—
track count
—
Event log
clear
No events yet — interact with the <usermedia> element above.
see also
- Element vs. JS API — side-by-side code comparison
- Back to feature index
- ChromeStatus entry