aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/mediastreamtrack/kind/index.html
blob: 752ab567bde44845751e15368060d1d5c25dbc2f (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
57
58
59
---
title: MediaStreamTrack.kind
slug: Web/API/MediaStreamTrack/kind
tags:
  - Media Capture and Streams
  - MediaStreamTrack
  - Property
  - Read-only
  - Reference
  - WebRTC
translation_of: Web/API/MediaStreamTrack/kind
---
<div>{{APIRef("Media Capture and Streams")}}</div>

<p><span class="seoSummary"><code><strong>MediaStreamTrack.kind</strong></code> 읽기 전용 속성은 트랙이 오디오인 경우 <code>"audio"</code>, 비디오인 경우 <code>"video"</code>인  {{domxref("DOMString")}}을 반환합니다.</span> 트랙이 소스에서 분리된 경우엔 바뀌지 않습니다.</p>

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

<pre class="syntaxbox">const <em>type</em> = <em>track</em>.kind</pre>

<h3 id="값"></h3>

<p>{{domxref("DOMString")}}. 가능한 값은 다음과 같습니다.</p>

<ul>
 <li><code>"audio"</code>: 트랙이 오디오 트랙입니다.</li>
 <li><code>"video"</code>: 트랙이 비디오 트랙입니다.</li>
</ul>

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

<table class="standard-table" style="height: 49px; width: 1000px;">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{ SpecName('Media Capture', '#dom-mediastreamtrack-kind', 'MediaStreamTrack.kind') }}</td>
   <td>{{ Spec2('Media Capture') }}</td>
   <td>Initial specification.</td>
  </tr>
 </tbody>
</table>

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



<p>{{Compat("api.MediaStreamTrack.kind")}}</p>

<h2 id="같이_보기">같이 보기</h2>

<ul>
 <li><a href="/en-US/docs/Web/API/WebRTC_API">WebRTC</a></li>
</ul>