Make the MediaDevices interface and its related functions and types, including getUserMedia(), enumerateDevices() and getDisplayMedia() available only in secure contexts.
Docs: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices
Samples: https://webrtc.github.io/samples/