aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/navigator/mediadevices/index.html
blob: 01a4984acd2208618d98c0dbcaf4ac6336355450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: Navigator.mediaDevices
slug: Web/API/Navigator/mediaDevices
tags:
  - Media
  - Media Capture and Streams API
  - Media Streams API
  - Navigator
  - Property
  - Read-only
  - Reference
  - Web
translation_of: Web/API/Navigator/mediaDevices
---
<div>{{APIRef("Media Capture and Streams")}}</div>

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

<h2 id="구문">구문</h2>

<pre class="syntaxbox">var <em>mediaDevices</em> = navigator.mediaDevices;
</pre>

<h3 id="반환_값">반환 값</h3>

<p>{{domxref("MediaDevices")}} 싱글톤 객체.</p>

<h2 id="명세">명세</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">명세</th>
   <th scope="col">상태</th>
   <th scope="col">코멘트</th>
  </tr>
  <tr>
   <td>{{SpecName('Media Capture', '#widl-NavigatorUserMedia-mediaDevices', 'NavigatorUserMedia.mediaDevices')}}</td>
   <td>{{Spec2('Media Capture')}}</td>
   <td>Initial definition.</td>
  </tr>
 </tbody>
</table>

<h2 id="브라우저_호환성">브라우저 호환성</h2>



<p>{{Compat("api.Navigator.mediaDevices")}}</p>

<h2 id="참조">참조</h2>

<ul>
 <li><a href="/ko/docs/Web/API/Media_Streams_API">Media Capture and Streams API</a>: 전체 미디어 스트림 API 문서의 시작 지점.</li>
 <li><a href="/ko/docs/Web/API/WebRTC_API">WebRTC API</a>: 밀접한 관련이 있는 WebRTC API 문서.</li>
</ul>