VorbisRTP: Difference between revisions

From XiphWiki
Jump to navigation Jump to search
No edit summary
m (→‎Issues: icecast => Icecast)
 
(28 intermediate revisions by 17 users not shown)
Line 3: Line 3:
This page documents current consensus on the RTP payload format for Vorbis audio. This encapsulation is useful for interactive and multicast streaming.
This page documents current consensus on the RTP payload format for Vorbis audio. This encapsulation is useful for interactive and multicast streaming.


=== Drafts ===
=== Standard ===


[http://svn.xiph.org/tags/vorbis/libvorbis-1.1.0/doc/draft-kerr-avt-vorbis-rtp-03.txt draft-kerr-avt-vorbis-rtp-03] (now expired) was the last spec attempt and serves as the baseline for current work.
In 2008, the Vorbis RTP specification was accepted by the IETF's Network Working Group as RFC 5215. It may be found at
 
*[http://tools.ietf.org/rfc/rfc5215.txt rfc5215.txt]
Version 04 of the draft is being written using the XML markup defined in [http://xml.resource.org/public/rfc/html/rfc2629.html RFC2629]. Text and HTML versions of the current draft state are available here:
*[http://xiph.org/vorbis/doc/rfc5215.xml rfc5215.xml]
 
* [http://www.j-ogg.de/rfc/vorbis-rtp.txt draft-kerr-avt-vorbis-rtp-04.txt]
* [http://www.j-ogg.de/rfc/vorbis-rtp.html draft-kerr-avt-vorbis-rtp-04.html]


=== Issues ===
=== Issues ===


Basically, we pack Vorbis packets into RTP packets; that's been part of the draft for some time. The hard part is achieving reliable header transmission, since RTP is usually used in combination with a no-guaranteed-delivery networking mechanism. Equally important, in multicast the headers can't be prepended on connection the way icecast does with HTTP streams.
Basically, we pack Vorbis packets into RTP packets; that's been part of the draft for some time. The hard part is achieving reliable header transmission, since RTP is usually used in combination with a no-guaranteed-delivery networking mechanism. Equally important, in multicast the headers can't be prepended on connection the way Icecast does with HTTP streams.


The current suggestion (due to Jack) is that we dispense with the chaining feature of Ogg streams, and only allow a single set of vorbis headers per RTP stream. Since RTP is most often used to stream live or at least individual events, this is not a serious limitation. Even in the "simulated live" case encoded files often have the same set of codebooks, and those that do not can be re-encoded on the fly.
The current suggestion (due to Jack) is that we dispense with the chaining feature of Ogg streams, and only allow a single set of vorbis headers per RTP stream. Since RTP is most often used to stream live or at least individual events, this is not a serious limitation. Even in the "simulated live" case encoded files often have the same set of codebooks, and those that do not can be re-encoded on the fly.
Line 32: Line 29:
=== Implementation ===
=== Implementation ===


Tor-Einar Jarnbjo has an [http://www.j-ogg.de/rtp/index.html example implementation] that extends the ideas in the 03 draft a bit.
Tor-Einar Jarnbjo has an [http://www.j-ogg.de/rtp/index.html example implementation] that extends the ideas in the kerr 03 draft a bit.
[http://www.etoo.cn/sports 健身器材]
 
[http://www.etoo.cn/stadium 场馆设备]
[[Category:Vorbis]]
[http://www.etoo.cn/21win-win 拓展训练]
[http://www.paite.net 尖锐湿疣]
[http://www.paite.net/1 尖锐湿疣]
[http://www.paite.net/default.asp 尖锐湿疣]
[http://www.paite.net/qyjj.html 尖锐湿疣]
[http://www.paite.net/cpjs.html 尖锐湿疣]
[http://www.paite.net/zjxx.html 尖锐湿疣]
[http://www.paite.net/gmzn.html 尖锐湿疣]
[http://www.paite.net/zsxx.html 尖锐湿疣]
[http://www.paite.net/yhfk.html 尖锐湿疣]
[http://www.wjmgy.com 脉管炎]
[http://www.wjmgy.com/1 脉管炎]
[http://www.wjmgy.com/hospitaljs.htm 脉管炎]
[http://www.wjmgy.com/zhuankejs.htm 脉管炎]
[http://www.wjmgy.com/zhuzhiys.htm 脉管炎]
[http://www.wjmgy.com/conact.htm 脉管炎]
[http://www.shop263.com/i-4/1.htm 芦荟叶粉]
[http://www.shop263.com/i-4/2.htm 芦荟汁]
[http://www.shop263.com/i-4/3.htm 旅游观光]
[http://www.shop263.com/i-4/4.htm 旅游洁具]
[http://www.shop263.com/i-4/5.htm 绿色鲜氧美容]
[http://www.shop263.com/i-4/6.htm 氯代异氰脲酸]
[http://www.shop263.com/i-4/7.htm 美白养颜]
[http://www.shop263.com/i-4/8.htm 美容保健品]
[http://www.shop263.com/i-4/9.htm 美容膏]
[http://www.shop263.com/i-4/10.htm 美容工]
[http://www.shop263.com/i-4/11.htm 美容美体仪器]
[http://www.shop263.com/i-4/12.htm 美容胭脂]
[http://www.shop263.com/i-4/13.htm 美容仪器]
[http://www.shop263.com/i-4/14.htm 美乳霜]
[http://www.shop263.com/i-4/15.htm 美颜霜]
[http://www.shop263.com/i-4/16.htm 密封胶溶剂]
[http://www.shop263.com/i-4/17.htm 绵羊油系列]
[http://www.shop263.com/i-4/18.htm 棉短绒]
[http://www.shop263.com/i-4/19.htm 棉壳]
[http://www.shop263.com/i-4/20.htm 棉籽]
[http://www.shop263.com/i-4/21.htm 面膜]
[http://www.shop263.com/i-4/22.htm 面膜系列]
[http://www.shop263.com/i-4/23.htm 灭蚊片]
[http://www.shop263.com/i-4/24.htm 摩丝]
[http://www.shop263.com/i-4/25.htm 抹身亮彩膏]
[http://www.shop263.com/i-4/26.htm 沐浴露]
[http://www.shop263.com/i-4/27.htm 沐浴卫生间]
[http://www.shop263.com/i-4/28.htm 沐足按摩]
[http://www.shop263.com/i-4/29.htm 凝玉眼啫哩]
[http://www.shop263.com/i-4/30.htm 牛磺酸]
[http://www.shop263.com/i-4/31.htm 钮扣树脂]
[http://www.shop263.com/i-4/32.htm 农业蜡]
[http://www.shop263.com/i-4/33.htm 盘香]
[http://www.shop263.com/i-4/34.htm 喷雾型彩条]
[http://www.shop263.com/i-4/35.htm 喷雾型飞花]
[http://www.shop263.com/i-4/36.htm 喷雾型喷雪]
[http://www.shop263.com/i-4/37.htm 喷雾型飘雪]
[http://www.shop263.com/i-4/38.htm 皮革化学品]
[http://www.shop263.com/i-4/39.htm 皮革蜡]
[http://www.shop263.com/i-4/40.htm 偏重亚硫酸钾]
[http://www.shop263.com/i-4/41.htm 嘌呤]
[http://www.shop263.com/i-4/42.htm 起蜡水]
[http://www.shop263.com/i-4/43.htm 气雾剂溶剂油]
[http://www.shop263.com/i-4/44.htm 强力修复剂]
[http://www.shop263.com/i-4/45.htm 强力油污乳化剂]
[http://www.shop263.com/i-4/46.htm 羟丙基甲基纤维素]
[http://www.shop263.com/i-4/47.htm 羟丙纤维素]
[http://www.shop263.com/i-4/48.htm 羟乙基纤维素聚合物]
[http://www.shop263.com/i-4/49.htm 氢溴酸]
[http://www.shop263.com/i-4/50.htm 清毒养颜]
[http://www.shop263.com/i-4/51.htm 清洁保养剂]
[http://www.shop263.com/i-4/52.htm 清洁工具]
[http://www.shop263.com/i-4/53.htm 清新美颜面膜]
[http://www.shop263.com/i-4/54.htm 清新爽肤水]
[http://www.shop263.com/i-4/55.htm 祛斑]
[http://www.shop263.com/i-4/56.htm 祛斑面膜]
[http://www.shop263.com/i-4/57.htm 去粉刺]
[http://www.shop263.com/i-4/58.htm 去角质霜]
[http://www.shop263.com/i-4/59.htm 去屑止痒剂]
[http://www.shop263.com/i-4/60.htm 日化产品]
[http://www.shop263.com/i-4/61.htm 日化蜡]
[http://www.shop263.com/i-4/62.htm 日化香精]
[http://www.shop263.com/i-4/63.htm 溶剂油]
[http://www.shop263.com/i-4/64.htm 柔肤精华玉液]
[http://www.shop263.com/i-4/65.htm 乳化剂]
[http://www.shop263.com/i-4/66.htm 润唇膏]
[http://www.shop263.com/i-4/67.htm 润肤剂]
[http://www.shop263.com/i-4/68.htm 润肤霜]
[http://www.shop263.com/i-4/69.htm 润滑脂]
[http://www.shop263.com/i-4/70.htm 三甲基四氢喹喔啉]
[http://www.shop263.com/i-4/71.htm 三聚磷酸二氢铝]
[http://www.shop263.com/i-4/72.htm 三聚磷酸铝]
[http://www.shop263.com/i-4/73.htm 三聚磷酸钠]
[http://www.shop263.com/i-4/74.htm 三氯生]
[http://www.shop263.com/i-4/75.htm 三氯生广谱抗菌剂]
[http://www.shop263.com/i-4/76.htm 三氯新]
[http://www.shop263.com/i-4/77.htm 三氯异氰尿酸]
[http://www.shop263.com/i-4/78.htm 杀虫气雾剂]
[http://www.shop263.com/i-4/79.htm 杀蚁饵剂]
[http://www.shop263.com/i-4/80.htm 杀蟑饵盒]
[http://www.shop263.com/i-4/81.htm 沙棘面膜]
[http://www.shop263.com/i-4/82.htm 设备专用清洁剂]
[http://www.shop263.com/i-4/83.htm 深层调理面膜]
[http://www.shop263.com/i-4/84.htm 生发灵]
[http://www.shop263.com/i-4/85.htm 生物护理液]
[http://www.shop263.com/i-4/86.htm 生物祛斑霜]
[http://www.shop263.com/i-4/87.htm 胜德油基杀虫剂]
[http://www.shop263.com/i-4/88.htm 湿巾]
[http://www.shop263.com/i-4/89.htm 石材养护]
[http://www.shop263.com/i-4/90.htm 食用香精]
[http://www.shop263.com/i-4/91.htm 收缩水]
[http://www.shop263.com/i-4/92.htm 手性氨基酸]
[http://www.shop263.com/i-4/93.htm 手性配体]
[http://www.shop263.com/i-4/94.htm 树脂]
[http://www.shop263.com/i-4/95.htm 双戊二烯树脂]
[http://www.shop263.com/i-4/96.htm 爽肤水]
[http://www.shop263.com/i-4/97.htm 水产养殖消毒杀菌剂]
[http://www.shop263.com/i-4/98.htm 水基气雾杀虫剂]
[http://www.shop263.com/i-4/99.htm 水晶按摩膏]
[http://www.shop263.com/i-4/100.htm 水晶蜡]
[http://www.shop263.com/i-4/101.htm 水泥分散剂]
[http://www.shop263.com/i-4/102.htm 水泥缓凝剂]
[http://www.shop263.com/i-4/103.htm 水溶性膜型清洁剂]
[http://www.shop263.com/i-4/104.htm 通渠粉]
[http://www.shop263.com/i-4/105.htm 维他命系列]
[http://www.shop263.com/i-4/106.htm 洁面乳]
[http://www.shop263.com/i-4/107.htm 卫洁纯]
[http://www.shop263.com/i-4/108.htm 卫洁灵]
[http://www.shop263.com/i-4/109.htm 卫生间用品]
[http://www.shop263.com/i-4/110.htm 卫生杀虫气雾剂]
[http://www.shop263.com/i-4/111.htm 无钴变色硅胶]
[http://www.shop263.com/i-4/112.htm 无磷助洗剂]
[http://www.shop263.com/i-4/113.htm 无水硫酸钠]
[http://www.shop263.com/i-4/114.htm 吸水地垫]
[http://www.shop263.com/i-4/115.htm 硒强化营养盐]
[http://www.shop263.com/i-4/116.htm 洗发露]
[http://www.shop263.com/i-4/117.htm 洗发香波]
[http://www.shop263.com/i-4/118.htm 洗锅刷]
[http://www.shop263.com/i-4/119.htm 洗护系列]
[http://www.shop263.com/i-4/120.htm 洗甲水]
[http://www.shop263.com/i-4/121.htm 洗洁精]
[http://www.shop263.com/i-4/122.htm 洗面奶]
[http://www.shop263.com/i-4/123.htm 洗面乳]
[http://www.shop263.com/i-4/124.htm 洗手乳液]
[http://www.shop263.com/i-4/125.htm 洗手液]
[http://www.shop263.com/i-4/126.htm 洗衣粉]
[http://www.shop263.com/i-4/127.htm 洗衣液]
[http://www.shop263.com/i-4/128.htm 细孔硅胶]
[http://www.shop263.com/i-4/129.htm 鲜花干燥硅胶]
[http://www.shop263.com/i-4/130.htm 现代中药]
[http://www.shop263.com/i-4/131.htm 香精片]
[http://www.shop263.com/i-4/132.htm 香球]
[http://www.shop263.com/i-4/133.htm 香水]
[http://www.shop263.com/i-4/134.htm 香水配件]
[http://www.shop263.com/i-4/135.htm 香水瓶]
[http://www.shop263.com/i-4/136.htm 香浴露]
[http://www.shop263.com/i-4/137.htm 消毒湿巾]
[http://www.shop263.com/i-4/138.htm 锌强化营养盐]
[http://www.shop263.com/i-4/139.htm 新鲜蔬菜]
[http://www.shop263.com/i-4/140.htm 雅肤深层洁面乳]
[http://www.shop263.com/i-4/141.htm 亚硫酸钾]
[http://www.shop263.com/i-4/142.htm 烟酮]
[http://www.shop263.com/i-4/143.htm 烟用香精]
[http://www.shop263.com/i-4/144.htm 烟用香料]
[http://www.shop263.com/i-4/145.htm 胭脂眼影]
[http://www.shop263.com/i-4/146.htm 眼袋霜]
[http://www.shop263.com/i-4/147.htm 眼线液]
[http://www.shop263.com/i-4/148.htm 眼影]
[http://www.shop263.com/i-4/149.htm 羊胎素]
[http://www.shop263.com/i-4/150.htm 液体电蚊香]
[http://www.shop263.com/i-4/151.htm 衣吊]
[http://www.shop263.com/i-4/152.htm 衣架系列]
[http://www.shop263.com/i-4/153.htm 医药中间体]
[http://www.shop263.com/i-4/154.htm 仪器清洁剂]
[http://www.shop263.com/i-4/155.htm 乙基纤维素]
[http://www.shop263.com/i-4/156.htm 异氰尿酸]
[http://www.shop263.com/i-4/157.htm 引擎抗磨养护剂]
[http://www.shop263.com/i-4/158.htm 引擎磨合养护剂]
[http://www.shop263.com/i-4/159.htm 荧光增白剂]
[http://www.shop263.com/i-4/160.htm 营养霜]
[http://www.shop263.com/i-4/161.htm 营养盐]
[http://www.shop263.com/i-4/162.htm 优质美容套刷]
[http://www.shop263.com/i-4/163.htm 油墨溶剂]
[http://www.shop263.com/i-4/164.htm 油田钻井液]
[http://www.shop263.com/i-4/165.htm 游离子牛油果焗油发膜]
[http://www.shop263.com/i-4/166.htm 有机磷酸盐]
[http://www.shop263.com/i-4/167.htm 右旋龙脑]
[http://www.shop263.com/i-4/168.htm 元明粉]
[http://www.shop263.com/i-4/169.htm 圆球刷]
[http://www.shop263.com/i-4/170.htm 皂基]
[http://www.shop263.com/i-4/171.htm 啫喱水]
[http://www.shop263.com/i-4/172.htm 增白面膜]
[http://www.shop263.com/i-4/173.htm 增稠剂]
[http://www.shop263.com/i-4/174.htm 樟脑]
[http://www.shop263.com/i-4/175.htm 樟脑丸]
[http://www.shop263.com/i-4/176.htm 蟑螂胶饵]
[http://www.shop263.com/i-4/177.htm 真珠膏]
[http://www.shop263.com/i-4/178.htm 织物柔软剂]
[http://www.shop263.com/i-4/179.htm 织物洗涤用品]
[http://www.shop263.com/i-4/180.htm 植物莹白祛斑霜]
[http://www.shop263.com/i-4/181.htm 植物转基因]
[http://www.shop263.com/i-4/182.htm 指甲油]
[http://www.shop263.com/i-4/183.htm 珠光剂]
[http://www.shop263.com/i-4/184.htm 铸造蜡]
[http://www.shop263.com/i-4/185.htm 专业外墙清洗剂]
[http://www.shop263.com/i-4/186.htm 专用树脂]
[http://www.shop263.com/i-4/187.htm 滋养秀肤面霜]
[http://www.shop263.com/i-4/188.htm 紫苏醛]
[http://www.shop263.com/i-4/189.htm 紫苏糖]
[http://www.shop263.com/i-4/190.htm 紫苏葶]
[http://www.shop263.com/i-4/191.htm 紫外吸收剂]
[http://www.shop263.com/i-4/192.htm 自动车库门]
[http://www.shop263.com/i-4/193.htm 左旋龙脑]
[http://www.shop263.com/i-4/194.htm 左旋樟脑]
[http://www.shop263.com/i-4/195.htm 透明工艺品树脂]
[http://www.shop263.com/i-4/196.htm 褪红营养素]
[http://www.shop263.com/i-4/197.htm 脱模用油]
[http://www.shop263.com/i-4/198.htm 外墙清洗剂]
[http://www.shop263.com/i-4/199.htm 微波炉]
[http://www.shop263.com/i-4/200.htm 微波炉用具]
[http://www.shop263.com/i-4/201.htm 微晶纤维素]
[http://www.shop263.com/i-4/202.htm 微脂囊按摩膏]
[http://www.shop263.com/i-4/203.htm 维B细胞活力霜]
[http://www.shop263.com/i-4/204.htm 维生素B5]
[http://www.shop263.com/i-4/205.htm 维生素及其衍生物]
[http://www.shop263.com/i-4/206.htm 通用树脂]

Latest revision as of 10:59, 19 February 2016

Vorbis over RTP

This page documents current consensus on the RTP payload format for Vorbis audio. This encapsulation is useful for interactive and multicast streaming.

Standard

In 2008, the Vorbis RTP specification was accepted by the IETF's Network Working Group as RFC 5215. It may be found at

Issues

Basically, we pack Vorbis packets into RTP packets; that's been part of the draft for some time. The hard part is achieving reliable header transmission, since RTP is usually used in combination with a no-guaranteed-delivery networking mechanism. Equally important, in multicast the headers can't be prepended on connection the way Icecast does with HTTP streams.

The current suggestion (due to Jack) is that we dispense with the chaining feature of Ogg streams, and only allow a single set of vorbis headers per RTP stream. Since RTP is most often used to stream live or at least individual events, this is not a serious limitation. Even in the "simulated live" case encoded files often have the same set of codebooks, and those that do not can be re-encoded on the fly.

The only real drawback is the loss of a metadata update mechanism. This can be resolved either by using a completely separate metadata stream (which we've always wanted to do anyway) or by altering the spec to allow comment header packets to occur outside the headers. In the later case a recording application would need to insert chaining boundaries and duplicate headers at each metadata change. The former offers the client more control over the metadata stream bandwidth.

Design

  • Vorbis packets get packed into RTP packets
  • Header parameters are fixed per stream, so they can be passed in the SDP
 * inline in the SDP?
 * HTTP reference or other protocol?
 * some kind of hash so clients can cache codebooks/parameters
 * inline in the RTP stream should also be allowed
  • Granulepos becomes timestamp (still in samples)

Implementation

Tor-Einar Jarnbjo has an example implementation that extends the ideas in the kerr 03 draft a bit.