Abstract sip, sap, and SDP are important protocols involved in NGN and 3tnet. Based on introduction and analysis of SIP, sap, and SDP protocols, this paper provides a multimedia conference application instance based on the combination of the three protocols.
Key words: SIP
RTP/RTCP/RTSP/SIP/SDP RelationshipRTP (real-time transport protocol, Transport layer)Real-time Transport Protocol) is a Transport layer protocol for multimedia traffic on the Internet. The RTP protocol details the standard packet format for transmitting audio and video over the Internet. RTP protocols are commonly used in streaming media systems (with the RTCP protocol), video conferencing and a Push-to-tal
1 Introduction
SIPSession Initiation Protocol, Session Initiation Protocol), SAPSession Announcement Protocol, Session notification Protocol), SDPSession Description Protocol, Session Description Protocol) are three sessions) related RFC protocols are connected and differentiated. In this article, we will make a simple analysis of the three protocols and provide a multimedia application that has some practical value to achieve with these three protocols.
2 protocol analysis
2.1 introduction and
RTP/RTCP/RTSP/SIP/SDP relationship1. RTPReal-time Transport Protocol is a Transport layer protocol for multimedia traffic on the Internet. The RTP protocol details the standard packet format for transmitting audio and video over the Internet. RTP protocols are commonly used in streaming media systems (with the RTCP protocol), video conferencing and a Push-to-talk system (with either a/p or
inactive.
11.Even if the offer type is senonly, the answer address and port must exist because RTCP needs to be transferred.
12.If it is RTP, offer uses a specific load number to correspond to a specific encoding. Answer should maintain this relationship.
13.The "M =" Row encoding in answer should be prioritized so that offer can use the highest priority option. Even so, it is recommended that answer take the same priority as offer.
14.Ptime indicates the acceptable packaging interval, but does
streams have a public media format 415 Response ( Media type not supported ) , and join 304 Warning Header field ( Media type not supported ) . 3 . Multicast Operations( 1 ) The multicast addresses that are accepted and sent are the same. ( 2 ) is called not allowed to change the media stream only hair, just accept or receive / To the hair characteristics. ( 3 ) If the call does not support multicasting, the loopback - Response and the Warning ( multicast not available ) . 4 . delayed Media
SDP application in the SIP protocol and SDPSIP Application
The SDP is used to construct the message bodies of INVITE, 200OK, and ACK messages for the master and called users to exchange media information.
1. Media Stream Configuration
(1) The description of the primary called media must correspond to the nth media stream (m =) of the primary called, and both cont
In this super class, we'll talk about the meaning behind the power consumption metrics such as TDP, TBP, SDP, and ACP, first to introduce some basic knowledge:
Power consumption calculation of CMOS circuits
How does the CMOS circuit consume power? It's a problem to talk about. Integrated circuit power consumption design can be as a subject in-depth study, we also cannot explain in detail CMOS circuit power consumption in what place
on the caller and callee.Session management: includes sending and terminating sessions, modifying session parameters, and activating services.SIP is not a vertically integrated communication system. SIP may be called a part more suitable. It can be used as a part of other IETF protocols to construct a complete multimedia architecture. For example, these architectures will include real-time data transmission protocol (RTP) (RFC 1889) used to transmit
(1) SDP description format(2) SDP example(3) SDP(1) SDP description formatM=video 1234 RTP/AVP 96a=rtpmap:96 H264A=framerate:15C=in IP4 192.168.0.104Above is a self-written RTPM=audio 1234 RTP/AVP 0a=rtpmap:0 PCMA/8000/1A=framerate:25C=in IP4 172.18.168.451.m= is the beginning of a media-level session, Audio: media typ
).Example: Max-forwards:10
CSEQ: A request sequence number that distinguishes between different requests in the same session.Example: Cseq:1 INVITEcseq:4325 BYECseq:1 REGISTER
The above 6 header fields are the required header fields in all SIP messages.
Contact another SIP URL for direct message routing.Example: Contact:w Riker, acting Captain [email protected]Record-route needs to be on t
with host {x:y}. As shown in the following illustration:
symmetric NAT (symmetric type)
Symmetric NAT (symmetric NAT) converts the client address {x:y} to the public address {A:B} and binds to {x:y}| {a:b}
problems with deploying SIP networks
SIP-based voice and video sessions are called Call-in mode (unsolicited incoming calls), the called party can not predict beforehand, so the terminal must always list
programming interfaces (APIS) so that developers can build sip components and applications for service providers and enterprises. Most importantly, more and more competitors are using promising new services to enter the SIP market. SIP is becoming one of the most important protocols since HTTP and SMTP.
Advantages of SIP
protocols since HTTP and SMTP.
Advantages of SIP: Web-like scalable open communication
With SIP, service providers can select standard components at will to quickly control new technologies. Regardless of the number of media content and participants, users can find and contact each other. SIP negotiates sessions so that all participants can agree on and modify
" attributesBody, for example:Content-Type: Application/SDPContent-Length: 212
A sip message can also contain multiple message bodies, such as SDP information and a caller's photo, so that the caller's profile is displayed.
When a SIP message passes through the proxy, the proxy only cares about the message header and does not check the message body. Therefore, th
contained in invite. The format of this information introduces another RFC, RFC 2327, and Session Description Protocol (SDP )).
Like other protocols, SIP has the following requirement: both ends of a session must have sufficient information exchange at the beginning. The two protocols used are SAP (Session announcement protocol) defined in RFC 2974 and SDP (Sess
For multi-user communications, there are also common protocols for standardized management, such as the previously mentioned SDP and SIP (Session initiation Protocol), which is a control protocol belonging to the application layer, primarily used to create, modify, and abort sessions between one or more participants ( Sessions). The types of sessions include IP telephony, multimedia streaming, and multimedi
Next we will introduce the SDP protocol. So what is the specific role of this agreement? What does it mean? Session Description Protocol (SDP) provides multimedia session description for session notifications, session invitations, and other forms of multimedia session initialization.
The session directory is used to assist with multimedia conference announcements and send relevant settings for session parti
The Session Description Protocol (SDP) provides multimedia session descriptions for session notifications, session invitations, and other forms of multimedia session initialization.
The session directory is used to assist with multimedia conference announcements and send relevant settings for session participants. SDP is used to transmit this information to the receiving end.
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.