← Back to release summary

Make MediaDevices and related functions and types secure context only

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

Summary

Make the MediaDevices interface and its related functions and types, including getUserMedia(), enumerateDevices() and getDisplayMedia() available only in secure contexts.

Standards & signals

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

Samples: https://webrtc.github.io/samples/

View on chromestatus.com