Navigator.mediaDevices

Baseline Widely available *

This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2017.

* Some parts of this feature may have varying levels of support.

Navigator.mediaDevices 읽기 전용 속성은 카메라, 마이크, 화면 공유와 같이 현재 연결된 미디어 입력 장치에 접근할 수 있는 MediaDevices 객체를 반환합니다.

구문

js
var mediaDevices = navigator.mediaDevices;

반환 값

MediaDevices 싱글톤 객체.

명세

Specification
Media Capture and Streams
# mediadevices

브라우저 호환성

Report problems with this compatibility data on GitHub
desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Deno
Node.js
mediaDevices
Secure context required

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support

참조