Navigator.mediaDevices
읽기 전용 속성은 카메라, 마이크, 화면 공유와 같이 현재 연결된 미디어 입력 장치에 접근할 수 있는 MediaDevices
객체를 반환합니다.
구문
var mediaDevices = navigator.mediaDevices;
반환 값
MediaDevices
싱글톤 객체.
명세
명세 | 상태 | 코멘트 |
---|---|---|
Media Capture and Streams The definition of 'NavigatorUserMedia.mediaDevices' in that specification. |
Candidate Recommendation | Initial definition. |
브라우저 호환성
BCD tables only load in the browser
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.
참조
- Media Capture and Streams API: 전체 미디어 스트림 API 문서의 시작 지점.
- WebRTC API: 밀접한 관련이 있는 WebRTC API 문서.