This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

SDP

세션 기술 프로토콜 (Session Description Protocol, SDP)피어 투 피어(peer-to-peer) 연결을 설명하는 표준입니다. SDP에는 오디오 및 비디오의 코덱, 소스 주소, 타이밍 정보가 포함되어 있습니다.

아래는 일반적인 SDP 메시지입니다.

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

SDP는 단독으로 사용되지 않으며, RTP and RTSP와 같은 프로토콜에 의해 사용됩니다. SDP는 세션을 설명하는 방법으로, SDP를 사용하는 WebRTC의 구성요소이기도 합니다.

같이 보기