← Back to release summary

Navigator.mediaDevices

Category
Realtime / Communication
Type
New or changed feature
Status
Enabled by default (Chrome 47)
Intent stage
None

Summary

Navigator.mediaDevices has * an enumerateDevices function, which provides the same functionality as MediaStreamTrack.getSources and adds audio output devices to the list, and * a devicechange event to notify when the set of devices available have changed. enumerateDevices is enabled by default, and the devicechange event is behind a flag.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices https://developer.mozilla.org/en-US/docs/Web/API/Navigator

Samples: https://webrtc.github.io/samples/src/content/devices/input-output/

View on chromestatus.com