This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

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 ⁨2017년 9월⁩.

{"* "}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

브라우저 호환성

참조