RTP的有效负载类型

RTP封包中的有效负载类型(Payload Type)的栏位长度为7位元,因此RTP可以支援128种不通的有效负载类型。这个栏位用来指示声音或影像使用的编码类型,而且由发送端决定,不过当然前提是接收端也要拥有处理的能力。如果发送端在会话或者广播的中途决定改变编码方式,发送端可通过这个栏位来通知接收端。下面列出一些目前RTP所能支援的声音、影像有效负载类型。

有效负载号 (PT)       enconding name       audio/video(A/V)       clock rate(Hz)        channels(audio)
------------------------------------------------------------------------------------------------------------------------------------------
0                            PCMU                      A                             8000                   1      [RFC1890]
1                            1016                       A                             8000                   1      [RFC1890]
2                            G.726-32                 A                             8000                   1      [RFC1890]
3                            GSM                        A                             8000                   1      [RFC1890]
4                            G.723                      A                             8000                   1      [Kumar]
5                            DVI4                       A                             8000                   1      [RFC1890]
6                            DVI4                       A                             16000                  1      [RFC1890]
7                            LPC                         A                             8000                   1      [RFC1890]
8                            PCMA                      A                             8000                   1      [RFC1890]
9                            G.722                      A                             8000                   1      [RFC1890]
10                          L16                         A                             44100                  2      [RFC1890]
11                          L16                         A                             44100                  1      [RFC1890]
12                          QCELP                     A                             8000                   1
13                          reserved                  A
14                          MPA                        A                             90000                         [RFC1890,2250]
15                          G.728                      A                             8000                   1      [RFC1890]
16                          DVI4                       A                              11025                 1      [DiPol]
17                          DVI4                       A                              22050                 1      [DiPol]
18                          G.729                      A                             8000                   1
19                          reserved                  A  
20                          unassigned               A
21                          unassigned               A
22                          unassigned               A
23                          unassigned               A
dyn                        GSM-HR                    A                              8000                   1
dyn                        GSM-EFR                   A                              8000                   1
dyn                        L8                            A                              var.                     var.
dyn                        RED                         A
dyn                        VDVI                        A                              var.                     1
24                          unassigned               V
25                          CelB                        V                               90000                        [RFC2029]
26                          JPEG                       V                               90000                        [RFC2435]
27                          unassigned               V
28                          nv                           V                               90000                        [RFC1890]
29                          unassigned               V
30                          unassigned               V   
31                          H.261                      V                               90000                        [RFC2032]
32                          MPV                        V                               90000                        [RFC2250]
33                          MP2T                      AV                             90000                         [RFC2250]
34                          H.263                      V                               90000                        [Zhu]
35--71                    unassigned                ?
72--76                    reserved for RTCP conflict avoidance                                               [RFC1889]
77--95                    unassigned                ?
96--127                  dynamic                    ?                                                                 [RFC1890]
dyn                        BT656                     V                                90000
dyn                        H.263-1998              V                                90000
dyn                        MP1S                       V                                90000
dyn                        MP2P                       V                                90000

dyn                        BMPEG                     V                                90000


h264 的vidieo 负载类型就可以用 96。

  • 0
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
目录(Table of Contents) 1. 引言 (Introduction) 1 1 术语(Terminology) 2 RTP使用场景(RTP Use Scenarios) 2 1 简单多播音频会议( Simple Multicast Audio Conference) 2 2 音频和视频会议(Audio and Video Conference) 2 3 混频器和转换器(Mixers and Translators) 2 4 分层编码(Layered Encodings) 3 定义(Definitions) 4 字节序,校正和时间格式(Byte Order, Alignment, and Time Format) 5 RTP数据传输协议(RTP Data Transfer Protocol) 5 1 RTP固定头域(RTP Fixed Header Fields) 5 2 多路复用RTP会话(Multiplexing RTP Sessions) 5 3 RTP头的配置文件详细变更(Profile-Specific Modifications to the RTP Header) 5 3 1 RTP报头扩展(RTP Header Extension) 6 RTP控制协议(RTP Control Protocol) -- RTCP 6 1 RTCP包格式(RTCP Packet Format) 6 2 RTCP传输间隔(RTCP Transmission Interval) 6 2 1 维护会话成员数目(Maintaining the number of session members) 6 3 RTCP包的发送与接收规则(RTCP Packet Send and Receive Rules) 6 3 1 计算RTCP传输间隔(Computing the RTCP Transmission Interval) 6 3 2 初始化(Initialization) 6 3 3 接收RTP或RTCP(非BYE)包(Receiving an RTP or Non-BYE RTCP Packet) 6 3 4 接收RTCP(BYE)包(Receiving an RTCP BYE Packet) 6 3 5 SSRC计时失效(Timing Out an SSRC) 6 3 6 关于传输计时器的到期(Expiration of Transmission Timer) 6 3 7 传输一个 BYE 包(Transmitting a BYE Packet) 6 3 8 更新we_sent(Updating we_sent) 6 3 9 分配源描述带宽(Allocation of Source Description Bandwidth) 6 4 发送方和接收方报告(Sender and Receiver Reports) 6 4 1 SR:发送方报告的RTCP包(SR: Sender report RTCP packet) 6 4 2 RR:接收方报告的RTCP包(RR: Receiver Report RTCP Packet) 6 4 3 扩展发送方和接收方报告(Extending the Sender and Receiver Reports ) 6 4 4 分析发送方和接收方报告(Analyzing Sender and Receiver Reports ) 6 5 SDES:源描述RTCP包(SDES: Source description RTCP packet) 6 5 1 CNAME:规范终端标识符的SDES数据项(CNAME: Canonical End-Point Identifier SDES Item) 6 5 2 NAME:用户名的SDES数据项(NAME: User name SDES item) 6 5 3 EMAIL:电子邮件地址的SDES数据项(EMAIL: Electronic Mail Address SDES Item) 6 5 4 PHONE:电话号码的SDES数据项(PHONE: Phone Number SDES Item) 6 5 5 LOC:地理用户地址的SDES数据项(LOC: Geographic User Location SDES Item) 6 5 6 TOOL:应用程序或工具名字的SDES数据项(TOOL: Application or Tool Name SDES Item) 6 5 7 NOTE:通知/状态的SDES数据项(NOTE: Notice/Status SDES Item) 6 5 8 PRIV:私有扩展的SDES数据项(PRIV: Private Extensions SDES Item) 6 6 BYE:Goodbye RTCP包(BYE: Goodbye RTCP packet) 6 7 APP:定义应用程序的RTCP包(APP: Application-Defined RTCP Packet) 7 RTP转换器和混频器(RTP Translators and Mixers) 7 1 概述(General Description ) 7 2 在转换器中的RTCP数据处理(RTCP Processing in Translators) 7 3 在混频器中的RTCP数据处理(RTCP Processing in Mixers ) 7 4 级联混频器(Cascaded Mixers) 8 SSRC标识符的分配和使用(SSRC Identifier Allocation and Use) 8 1 冲突概率(Probability of Collision ) 8 2 冲突解决和循环检测(Collision Resolution and Loop Detection) 8 3 在分层编码中使用(Use with Layered Encodings) 9 安全(Security ) 9 1 机密性(Confidentiality) 9 2 身份验证和消息完整性(Authentication and Message Integrity) 10 拥塞控制(Congestion Control) 11 网络和传输协议之上的RTPRTP over Network and Transport Protocols) 12 协议常量摘要(Summary of Protocol Constants) 12 1 RTCP 包类型(RTCP Packet Types) 12 2 SDES 类型(SDES Types) 13 RTP概况和负载格式详细说明     (RTP Profiles and Payload Format Specifications) 14 安全考虑(Security Considerations) 15 IANA考虑(IANA Considerations) 16 知识产权声明(Intellectual Property Rights Statement) 17 鸣谢(Acknowledgments) 附录 A 算法(Algorithms) 附录 A 1 RTP数据有效性检查(RTP Data Header Validity Checks ) 附录 A 2 RTCP数据有效性检查(RTCP Header Validity Checks) 附录 A 3 确定RTP包预期数目和丢失数目(Determining Number of Packets Expected and Lost) 附录 A 4 生成SDES RTCP包(Generating RTCP SDES Packets) 附录 A 5 解析RTCP SDES包(Parsing RTCP SDES Packets) 附录 A 6 生成32位随机标识符(Generating a Random 32-bit Identifier

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值