SDP

本文详细介绍了会话描述协议(SDP)的用途及结构。SDP用于多媒体会话的公告、邀请等场景,在SAP及SIP等协议中发挥关键作用。文章列举了多个IETF RFC文档,并解释了SDP字段如版本号、所有者信息、会话名称等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

SDP is intended for describing multimedia sessions for the purposes of session announcement, session invitation, and other forms of multimedia session initiation. SDP is used from VOIP signalling protocols like SIP, H.323 and some minor VOIP protocols to transfer media setup information about a multi media client from A to B.

  • SDP is used by SAP - the Service Announcement Protocol.
  • SDP is used by SIP

 

IETF RFCs

 

Fields

Optional items are marked with a `*'.

Session description

       v=  (protocol version)
       o=  (owner/creator and session identifier).
       s=  (session name)
       i=* (session information)
       u=* (URI of description)
       e=* (email address)
       p=* (phone number)
       c=* (connection information - not required if included in all media)
       b=* (bandwidth information)
       One or more time descriptions (see below)
       z=* (time zone adjustments)
       k=* (encryption key)
       a=* (zero or more session attribute lines)
       Zero or more media descriptions (see below)

Time description

       t=  (time the session is active)
       r=* (zero or more repeat times)

Media description

       m=  (media name and transport address)
       i=* (media title)
       c=* (connection information - optional if included at session-level)
       b=* (bandwidth information)
       k=* (encryption key)
       a=* (zero or more media attribute lines)

RTP Payload Type Numbers

RTP payload type numbers appear in the m= and rtpmap lines of the SDP, but these numbers are not defined in the SDP RFCs, there is more information here: RTP.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值