SDP

From MultimediaWiki
Jump to: navigation, search

SDP stands for "Session Description Protocol". It is used to describe a streaming session. SDP is defined in RFC2327. SDP data is usually carried over SAP, RTSP or in dedicated files.

The idea behind SDP is that you can store critical stream information in the SDP and distribute this over a reliable connection (such as HTTP or RTSP). Then you can stream the raw codec data over a lossy connection, such as RTP without the need for a container.

Example

A typical SDP might look like this:

v=0
o=- 33 1205849075 IN IP4 127.0.0.0
s=A stream
t=0 0
a=range:npt=now-
m=video 5434 RTP/AVP 96
c=IN IP4 127.0.0.1
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=1;config=000001B0F3000001B50EE040C0CF0000010000000120008440FA28782168A31F
a=mpeg4-esid:201
b=AS:1000