SDP---SDP session protocol for communication protocols

Source: Internet
Author: User

(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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.