(1) SDP description format
(2) SDP example
(3) SDP
(1) SDP description format
M=video 1234 RTP/AVP 96
a=rtpmap:96 H264
A=framerate:15
C=in IP4 192.168.0.104
Above is a self-written RTP
M=audio 1234 RTP/AVP 0
a=rtpmap:0 PCMA/8000/1
A=framerate:25
C=in IP4 172.18.168.45
1.m= is the beginning of a media-level session, Audio: media type; 1234: port number; RTP/AVP: transport protocol; Payload format in 0:RTP header
2.a=rtpmap: proof is a further description of dynamic binding; payload format in 0:RTP header; PCMA: encoded name; 8000: sampling frequency; 1: Mono
Note: g711 has two encoding types and the other is PCMU
3.a=framerate:25 refers to 1s play a few RTP packets, unit frames per second, the countdown to a RTP packet-hosted data playback time, Unit s
8000/25=320 represents the g711 data size per RTP packet per timestamp increment value
4.c=: Media link information; In: The network type is generally IN;IP4: The address type is generally IP4; followed by the IP address (note that the IP address of VLC, not the sender's IP)
http://blog.csdn.net/zhangjikuan/article/details/27367437
http://blog.csdn.net/zhangjikuan/article/details/27379201
Http://www.360doc.com/content/11/0722/17/5560422_135240142.shtml
HTTP://BAIKE.C114.NET/VIEW.ASP?ID=6323-61E534E8 Communication Network
Http://www.360doc.com/content/11/1018/13/1016783_157135215.shtml
SDP contains base64 encoded information for SPS PPS SEI, port, IP, in VLC if you look at the RTP stream, the stream does not have a header such as an SPS, it opens in the SDP file
SDP---SDP session protocol for communication protocols