We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE

mediaDevices 是 Navigator 只读属性,返回一个 MediaDevices 对象,该对象可提供对相机和麦克风等媒体输入设备的连接访问,也包括屏幕共享。


var mediaDevices = navigator.mediaDevices;


MediaDevices 是一个单例对象。通常,您只需直接使用此对象的成员,例如通过调用navigator.mediaDevices.getUserMedia()


Specification Status Comment
Media Capture and Streams
Candidate Recommendation Initial definition.


We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Edge Firefox (Gecko) Microsoft Edge Internet Explorer Opera Safari (WebKit)
Basic support 51.0 (Yes) 36.0 (36.0) (Yes) (Yes) 未实现 未实现
Feature Android Android Webview Edge Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support 未实现 未实现 (Yes) 36.0 (36.0) 36.0 (36.0) 未实现 未实现 未实现 未实现



 此页面的贡献者: nDos, hawtim
 最后编辑者: nDos,