blob: 2c9c19afa2f077ca939ac5df0761d316ccb8de7d (
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: RTCPeerConnectionIceEvent.candidate
slug: Web/API/RTCPeerConnectionIceEvent/candidate
translation_of: Web/API/RTCPeerConnectionIceEvent/candidate
---
<p>{{APIRef("WebRTC")}}</p>
<p><span class="seoSummary">{{domxref("RTCPeerConnectionIceEvent")}} 인터페이스의 candidate 속성은 읽기 전용입니다. 이 속성은 {{domxref("RTCIceCandidate")}}와 관련된 이벤트를 반환합니다. </span></p>
<h2 id="Syntax">Syntax</h2>
<pre class="syntaxbox"> var <em>candidate</em> = <em>event</em>.candidate;</pre>
<h3 id="값">값</h3>
<p>ICE candidate를 나타내는 {{domxref("RTCIceCandidate")}} 객체. 해당 네고시에이션 세션에 대한 candidate가 더 이상 존재하지 않으면, <code>null</code>을 반환합니다. </p>
<h2 id="예시">예시</h2>
<pre class="brush: js">pc.onicecandidate = function( ev ) {
alert("The ICE candidate (transport address: '" +
ev.candidate.candidate +
"') has been added to this connection.");
}</pre>
<h2 id="Specifications" name="Specifications">명세</h2>
<table class="standard-table" style="height: 49px; width: 1000px;">
<thead>
<tr>
<th scope="col">명세</th>
<th scope="col">상태</th>
<th scope="col">코멘트</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ SpecName('WebRTC 1.0', '#dom-rtcpeerconnectioniceevent-candidate', 'RTCPeerConnectionIceEvent.candidate') }}</td>
<td>{{ Spec2('WebRTC 1.0') }}</td>
<td>Initial specification.</td>
</tr>
</tbody>
</table>
<h2 id="브라우저_호환성">브라우저 호환성</h2>
<p>{{Compat("api.RTCPeerConnectionIceEvent.candidate")}}</p>
<h2 id="참조">참조</h2>
<ul>
<li>{{event("icecandidate")}}</li>
<li>{{domxref("RTCPeerConnection")}}</li>
</ul>
|