Navigator.mediaDevices read-only property returns a
MediaDevices object, which provides access to connected media input devices like cameras and microphones, as well as screen sharing.
var mediaDevices = navigator.mediaDevices;
|Media Capture and Streams
The definition of 'NavigatorUserMedia.mediaDevices' in that specification.
|Candidate Recommendation||Initial definition.|
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.