diff options
Diffstat (limited to 'files/ko/web/api/rtcsessiondescription/sdp')
-rw-r--r-- | files/ko/web/api/rtcsessiondescription/sdp/index.html | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/files/ko/web/api/rtcsessiondescription/sdp/index.html b/files/ko/web/api/rtcsessiondescription/sdp/index.html new file mode 100644 index 0000000000..d0ed1ab2f6 --- /dev/null +++ b/files/ko/web/api/rtcsessiondescription/sdp/index.html @@ -0,0 +1,69 @@ +--- +title: RTCSessionDescription.sdp +slug: Web/API/RTCSessionDescription/sdp +translation_of: Web/API/RTCSessionDescription/sdp +--- +<p>{{APIRef("WebRTC")}}{{SeeCompatTable}}</p> + +<p>읽기 속성인 <strong><code>RTCSessionDescription.sdp</code></strong> 는 세션에 대해 설명해주는 {{Glossary("SDP")}}를 가지고 있는 {{domxref("DOMString")}}입니다. </p> + +<h2 id="Syntax">Syntax</h2> + +<pre class="syntaxbox">var <em>value</em> = <em>sessionDescription</em>.sdp; +<em>sessionDescription</em>.sdp = value; +</pre> + +<h3 id="값">값</h3> + +<p>아래와 같이 SDP 메세지를 포함하고 있는 {{domxref("DOMString")}}값 입니다. </p> + +<pre> v=0 + o=alice 2890844526 2890844526 IN IP4 host.anywhere.com + s= + c=IN IP4 host.anywhere.com + t=0 0 + m=audio 49170 RTP/AVP 0 + a=rtpmap:0 PCMU/8000 + m=video 51372 RTP/AVP 31 + a=rtpmap:31 H261/90000 + m=video 53000 RTP/AVP 32 + a=rtpmap:32 MPV/90000</pre> + +<h2 id="예시">예시</h2> + +<pre class="brush: js">// The remote description has been set previously on pc, an RTCPeerConnection + +alert(pc.remoteDescription.sdp); +</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', '#widl-RTCSessionDescription-sdp', 'RTCSessionDescription.sdp') }}</td> + <td>{{ Spec2('WebRTC 1.0') }}</td> + <td>Initial specification.</td> + </tr> + </tbody> +</table> + +<h2 id="브라우저_호환성">브라우저 호환성</h2> + + + +<p>{{Compat("api.RTCSessionDescription.sdp")}}</p> + +<h2 id="참조">참조</h2> + +<ul> + <li><a href="/en-US/docs/Web/Guide/API/WebRTC">WebRTC</a></li> + <li>The standard for using SDP in an offer/answer protocol {{rfc("3264")}}.</li> +</ul> |