draft-kerr-avt-vorbis-rtp-05.txt 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291
  1. AVT Working Group L. Barbato
  2. Internet-Draft Xiph.Org
  3. Expires: April 24, 2006 October 21, 2005
  4. draft-kerr-avt-vorbis-rtp-05
  5. RTP Payload Format for Vorbis Encoded Audio
  6. Status of this Memo
  7. By submitting this Internet-Draft, each author represents that any
  8. applicable patent or other IPR claims of which he or she is aware
  9. have been or will be disclosed, and any of which he or she becomes
  10. aware will be disclosed, in accordance with Section 6 of BCP 79.
  11. Internet-Drafts are working documents of the Internet Engineering
  12. Task Force (IETF), its areas, and its working groups. Note that
  13. other groups may also distribute working documents as Internet-
  14. Drafts.
  15. Internet-Drafts are draft documents valid for a maximum of six months
  16. and may be updated, replaced, or obsoleted by other documents at any
  17. time. It is inappropriate to use Internet-Drafts as reference
  18. material or to cite them other than as "work in progress."
  19. The list of current Internet-Drafts can be accessed at
  20. http://www.ietf.org/ietf/1id-abstracts.txt.
  21. The list of Internet-Draft Shadow Directories can be accessed at
  22. http://www.ietf.org/shadow.html.
  23. This Internet-Draft will expire on April 24, 2006.
  24. Copyright Notice
  25. Copyright (C) The Internet Society (2005).
  26. Abstract
  27. This document describes an RTP payload format for transporting Vorbis
  28. encoded audio. It details the RTP encapsulation mechanism for raw
  29. Vorbis data and details the delivery mechanisms for the decoder
  30. probability model, referred to as a codebook and other setup
  31. information.
  32. Also included within the document are the necessary details for the
  33. use of Vorbis with MIME and Session Description Protocol (SDP).
  34. Barbato Expires April 24, 2006 [Page 1]
  35. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  36. Editors Note
  37. All references to RFC XXXX are to be replaced by references to the
  38. RFC number of this memo, when published.
  39. Table of Contents
  40. 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
  41. 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3
  42. 2. Payload Format . . . . . . . . . . . . . . . . . . . . . . . . 3
  43. 2.1. RTP Header . . . . . . . . . . . . . . . . . . . . . . . . 3
  44. 2.2. Payload Header . . . . . . . . . . . . . . . . . . . . . . 5
  45. 2.3. Payload Data . . . . . . . . . . . . . . . . . . . . . . . 6
  46. 2.4. Example RTP Packet . . . . . . . . . . . . . . . . . . . . 7
  47. 3. Configuration Headers . . . . . . . . . . . . . . . . . . . . 8
  48. 3.1. In-band Header Transmission . . . . . . . . . . . . . . . 9
  49. 3.1.1. Packed Configuration . . . . . . . . . . . . . . . . . 9
  50. 3.2. Out of Band Transmission . . . . . . . . . . . . . . . . . 10
  51. 3.2.1. Packed Headers . . . . . . . . . . . . . . . . . . . . 10
  52. 3.3. Loss of Configuration Headers . . . . . . . . . . . . . . 12
  53. 4. Comment Headers . . . . . . . . . . . . . . . . . . . . . . . 12
  54. 5. Frame Packetizing . . . . . . . . . . . . . . . . . . . . . . 13
  55. 5.1. Example Fragmented Vorbis Packet . . . . . . . . . . . . . 14
  56. 5.2. Packet Loss . . . . . . . . . . . . . . . . . . . . . . . 16
  57. 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 17
  58. 6.1. Mapping MIME Parameters into SDP . . . . . . . . . . . . . 18
  59. 7. Congestion Control . . . . . . . . . . . . . . . . . . . . . . 19
  60. 8. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
  61. 8.1. Stream Radio . . . . . . . . . . . . . . . . . . . . . . . 19
  62. 9. Security Considerations . . . . . . . . . . . . . . . . . . . 20
  63. 10. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 20
  64. 11. References . . . . . . . . . . . . . . . . . . . . . . . . . . 21
  65. 11.1. Normative References . . . . . . . . . . . . . . . . . . . 21
  66. 11.2. Informative References . . . . . . . . . . . . . . . . . . 21
  67. Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 22
  68. Intellectual Property and Copyright Statements . . . . . . . . . . 23
  69. Barbato Expires April 24, 2006 [Page 2]
  70. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  71. 1. Introduction
  72. Vorbis is a general purpose perceptual audio codec intended to allow
  73. maximum encoder flexibility, thus allowing it to scale competitively
  74. over an exceptionally wide range of bitrates. At the high quality/
  75. bitrate end of the scale (CD or DAT rate stereo, 16/24 bits), it is
  76. in the same league as MPEG-2 and MPC. Similarly, the version 1.1
  77. reference encoder can encode high-quality CD and DAT rate stereo at
  78. below 48k bits/sec without resampling to a lower rate. Vorbis is
  79. also intended for lower and higher sample rates (from 8kHz telephony
  80. to 192kHz digital masters) and a range of channel representations
  81. (monaural, polyphonic, stereo, quadraphonic, 5.1, ambisonic, or up to
  82. 255 discrete channels).
  83. Vorbis encoded audio is generally encapsulated within an Ogg format
  84. bitstream [1], which provides framing and synchronization. For the
  85. purposes of RTP transport, this layer is unnecessary, and so raw
  86. Vorbis packets are used in the payload.
  87. 1.1. Terminology
  88. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
  89. "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
  90. document are to be interpreted as described in RFC 2119 [2].
  91. 2. Payload Format
  92. For RTP based transportation of Vorbis encoded audio the standard RTP
  93. header is followed by a 4 octet payload header, then the payload
  94. data. The payload headers are used to associate the Vorbis data with
  95. its associated decoding codebooks as well as indicating if the
  96. following packet contains fragmented Vorbis data and/or the the
  97. number of whole Vorbis data frames. The payload data contains the
  98. raw Vorbis bitstream information.
  99. 2.1. RTP Header
  100. The format of the RTP header is specified in [3] and shown in Figure
  101. Figure 1. This payload format uses the fields of the header in a
  102. manner consistent with that specification.
  103. Barbato Expires April 24, 2006 [Page 3]
  104. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  105. 0 1 2 3
  106. 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  107. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  108. |V=2|P|X| CC |M| PT | sequence number |
  109. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  110. | timestamp |
  111. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  112. | synchronization source (SSRC) identifier |
  113. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  114. | contributing source (CSRC) identifiers |
  115. | ... |
  116. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  117. Figure 1: RTP Header
  118. The RTP header begins with an octet of fields (V, P, X, and CC) to
  119. support specialized RTP uses (see [3] and [4] for details). For
  120. Vorbis RTP, the following values are used.
  121. Version (V): 2 bits
  122. This field identifies the version of RTP. The version used by this
  123. specification is two (2).
  124. Padding (P): 1 bit
  125. Padding MAY be used with this payload format according to section 5.1
  126. of [3].
  127. Extension (X): 1 bit
  128. The Extension bit is used in accordance with [3].
  129. CSRC count (CC): 4 bits
  130. The CSRC count is used in accordance with [3].
  131. Marker (M): 1 bit
  132. Set to zero. Audio silence suppression not used. This conforms to
  133. section 4.1 of [12].
  134. Payload Type (PT): 7 bits
  135. An RTP profile for a class of applications is expected to assign a
  136. payload type for this format, or a dynamically allocated payload type
  137. SHOULD be chosen which designates the payload as Vorbis.
  138. Barbato Expires April 24, 2006 [Page 4]
  139. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  140. Sequence number: 16 bits
  141. The sequence number increments by one for each RTP data packet sent,
  142. and may be used by the receiver to detect packet loss and to restore
  143. packet sequence. This field is detailed further in [3].
  144. Timestamp: 32 bits
  145. A timestamp representing the sampling time of the first sample of the
  146. first Vorbis packet in the RTP packet. The clock frequency MUST be
  147. set to the sample rate of the encoded audio data and is conveyed out-
  148. of-band as a SDP attribute.
  149. SSRC/CSRC identifiers:
  150. These two fields, 32 bits each with one SSRC field and a maximum of
  151. 16 CSRC fields, are as defined in [3].
  152. 2.2. Payload Header
  153. After the RTP Header section the following 4 octets are the Payload
  154. Header. This header is split into a number of bitfields detailing
  155. the format of the following payload data packets.
  156. 0 1 2 3
  157. 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  158. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  159. | Ident | F |VDT|# pkts.|
  160. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  161. Figure 2: Payload Header
  162. Ident: 24 bits
  163. This 24 bit field is used to associate the Vorbis data to a decoding
  164. Configuration.
  165. Fragment type (F): 2 bits
  166. This field is set accordingly the following list
  167. 0 = Not Fragmented
  168. 1 = Start Fragment
  169. 2 = Continuation Fragment
  170. 3 = End Fragment
  171. Vorbis Data Type (VDT): 2 bits
  172. Barbato Expires April 24, 2006 [Page 5]
  173. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  174. This field sets the packet payload type for the Vorbis data. There
  175. are currently three type of Vorbis payloads.
  176. 0 = Raw Vorbis payload
  177. 1 = Vorbis Packed Configuration payload
  178. 2 = Legacy Vorbis Comment payload
  179. 3 = Reserved
  180. The last 4 bits are the number of complete packets in this payload.
  181. This provides for a maximum number of 15 Vorbis packets in the
  182. payload. If the packet contains fragmented data the number of
  183. packets MUST be set to 0.
  184. 2.3. Payload Data
  185. Raw Vorbis packets are unbounded in length currently, although at
  186. some future point there will likely be a practical limit placed on
  187. them. Typical Vorbis packet sizes are from very small (2-3 bytes) to
  188. quite large (8-12 kilobytes). The reference implementation [11]
  189. typically produces packets less than ~800 bytes, except for the setup
  190. header packets which are ~4-12 kilobytes. Within an RTP context the
  191. maximum packet size, including the RTP and payload headers, SHOULD be
  192. kept below the path MTU to avoid packet fragmentation.
  193. 0 1 2 3
  194. 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  195. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  196. | length | vorbis packet data ..
  197. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  198. Figure 3: Payload Data Header
  199. Each Vorbis payload packet starts with a two octet length header,
  200. which is used to represent the size of the following data payload,
  201. followed by the raw Vorbis data padded to the nearest byte boundary.
  202. For payloads which consist of multiple Vorbis packets the payload
  203. data consists of the packet length followed by the packet data for
  204. each of the Vorbis packets in the payload.
  205. The Vorbis packet length header is the length of the Vorbis data
  206. block only and does not count the length field.
  207. The payload packing of the Vorbis data packets MUST follow the
  208. guidelines set-out in [4] where the oldest packet occurs immediately
  209. after the RTP packet header.
  210. Channel mapping of the audio is in accordance with the Vorbis I
  211. Barbato Expires April 24, 2006 [Page 6]
  212. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  213. Specification [12].
  214. 2.4. Example RTP Packet
  215. Here is an example RTP packet containing two Vorbis packets.
  216. RTP Packet Header:
  217. 0 1 2 3
  218. 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  219. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  220. | 2 |0|0| 0 |0| PT | sequence number |
  221. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  222. | timestamp (in sample rate units) |
  223. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  224. | synchronisation source (SSRC) identifier |
  225. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  226. | contributing source (CSRC) identifiers |
  227. | ... |
  228. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  229. Figure 4: Example Packet (RTP Headers)
  230. Payload Data:
  231. 0 1 2 3
  232. 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  233. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  234. | Ident | 0 | 0 | 2 pks |
  235. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  236. | length | vorbis data ..
  237. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  238. .. vorbis data |
  239. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  240. | length | next vorbis packet data ..
  241. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  242. .. vorbis data |
  243. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  244. Figure 5: Example Packet (Payload Data)
  245. The payload data section of the RTP packet starts with the 24 bit
  246. Ident field followed by the one octet bitfield header, which has the
  247. number of Vorbis frames set to 2. Each of the Vorbis data frames is
  248. prefixed by the two octet length field. The Packet Type and Fragment
  249. Type are set to 0. The decode Configuration that will be used to
  250. decode the packets is the one indexed by the ident value.
  251. Barbato Expires April 24, 2006 [Page 7]
  252. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  253. 3. Configuration Headers
  254. Unlike other mainstream audio codecs Vorbis has no statically
  255. configured probability model. Instead, it packs all entropy decoding
  256. configuration, VQ and Huffman models into a data block that must be
  257. transmitted to the decoder along with the compressed data. A decoder
  258. also requires identification information detailing the number of
  259. audio channels, bitrates and other information to configure itself
  260. for a particular compressed data stream. These two blocks of
  261. information are often referred to collectively as the "codebooks" for
  262. a Vorbis stream, and are nominally included as special "header"
  263. packets at the start of the compressed data.
  264. Thus these two codebook header packets must be received by the
  265. decoder before any audio data can be interpreted. In addition, the
  266. Vorbis I specification [12] requires the presense of a comment header
  267. packet which gives simple metadata about the stream. This
  268. requirement poses problems in RTP, which is often used over
  269. unreliable transports.
  270. Since this information must be transmitted reliably and, as the RTP
  271. stream may change certain configuration data mid-session, there are
  272. different methods for delivering this configuration data to a client,
  273. both in-band and out-of-band which is detailed below. SDP delivery
  274. is used to setup an initial state for the client application. The
  275. changes may be due to different codebooks as well as different
  276. bitrates of the stream.
  277. The delivery vectors in use are specified by an SDP attribute to
  278. indicate the method and the optional URI where the Vorbis Packed
  279. Configuration (Section 3.1.1) Packets could be fetched. Different
  280. delivery methods MAY be advertised for the same session. The in-band
  281. Configuration delivery SHOULD be considered as baseline, out-of-band
  282. delivery methods that don't use RTP will not be described in this
  283. document. For non chained streams, the Configuration delivery method
  284. RECOMMENDED is inline the Packed Configuration (Section 3.1.1) in the
  285. SDP as explained in the IANA considerations (Section 6.1) section.
  286. The 24 bit Ident field is used to map which Configuration will be
  287. used to decodea packet. When the Ident field changes, it indicates
  288. that a change in the stream has taken place. The client application
  289. MUST have in advance the correct configuration and if the client
  290. detects a change in the Ident value and does not have this
  291. information it MUST NOT decode the raw Vorbis data associated until
  292. it fetches the correct Configuration.
  293. Barbato Expires April 24, 2006 [Page 8]
  294. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  295. 3.1. In-band Header Transmission
  296. The Packed Configuration (Section 3.1.1) Payload is sent in-band with
  297. the packet type bits set to match the payload type. Clients MUST be
  298. capable of dealing with fragmentation and periodic re-transmission of
  299. the configuration headers.
  300. 3.1.1. Packed Configuration
  301. A Vorbis Packed Configuration is indicated with the payload type
  302. field set to 1. Of the three headers, defined in the Vorbis I
  303. specification [12], the identification and the setup will be packed
  304. together, the comment header is completely suppressed. Is up to the
  305. client provide a minimal size comment header to the decoder if
  306. required by the implementation.
  307. 0 1 2 3
  308. 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  309. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  310. |V=2|P|X| CC |M| PT | xxxx |
  311. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  312. | xxxxx |
  313. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  314. | synchronization source (SSRC) identifier |
  315. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  316. | contributing source (CSRC) identifiers |
  317. | ... |
  318. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  319. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  320. | Ident | 0 | 1 | 1|
  321. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  322. | length | Identification ..
  323. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  324. .. Identification ..
  325. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  326. .. Identification ..
  327. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  328. .. Identification ..
  329. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  330. .. | Setup ..
  331. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  332. .. Setup ..
  333. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  334. .. Setup |
  335. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  336. Figure 6: Packed Configuration Figure
  337. Barbato Expires April 24, 2006 [Page 9]
  338. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  339. The Ident field is set with the value that will be used by the Raw
  340. Payload Packets to address this Configuration. The Fragment type is
  341. set to 0 since the packet bears the full Packed configuration, the
  342. number of packet is set to 1.
  343. 3.2. Out of Band Transmission
  344. This section, as stated before, won't cover all the possible out-of-
  345. band delivery methods since they rely to different protocols and be
  346. linked to a specific application. The following packet definition
  347. SHOULD be used in out-of-band delivery and MUST be used when
  348. Configuration is inlined in the SDP.
  349. 3.2.1. Packed Headers
  350. As mentioned above the RECOMMENDED delivery vector for Vorbis
  351. configuration data is via a retrieval method that can be performed
  352. using a reliable transport protocol. As the RTP headers are not
  353. required for this method of delivery the structure of the
  354. configuration data is slightly different. The packed header starts
  355. with a 32 bit count field which details the number of packed headers
  356. that are contained in the bundle. Next is the Packed header payload
  357. for each chained Vorbis stream.
  358. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  359. | Number of packed headers |
  360. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  361. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  362. | Packed header |
  363. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  364. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  365. | Packed header |
  366. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  367. Figure 7: Packed Headers Overview
  368. Since the Configuration Ident and the Identification Header are fixed
  369. length there is only a 2 byte length tag to define the length of the
  370. packed headers.
  371. Barbato Expires April 24, 2006 [Page 10]
  372. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  373. 0 1 2 3
  374. 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  375. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  376. | Ident | ..
  377. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  378. .. length | Identification Header ..
  379. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  380. .. Identification Header |
  381. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  382. | Setup Header ..
  383. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  384. .. Setup Header |
  385. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  386. Figure 8: Packed Headers Detail
  387. The key difference between the in-band format and this one, is there
  388. is no need for the payload header octet.
  389. 3.2.1.1. Packed Headers IANA Considerations
  390. The following IANA considerations MUST only be applied to the packed
  391. headers.
  392. MIME media type name: audio
  393. MIME subtype: vorbis-config
  394. Required Parameters:
  395. None.
  396. Optional Parameters:
  397. None.
  398. Encoding considerations:
  399. This type is only defined for transfer via non RTP protocols as
  400. specified in RFC XXXX.
  401. Security Considerations:
  402. See Section 6 of RFC 3047.
  403. Interoperability considerations: none
  404. Published specification:
  405. Barbato Expires April 24, 2006 [Page 11]
  406. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  407. See RFC XXXX for details.
  408. Applications which use this media type:
  409. Vorbis encoded audio, configuration data.
  410. Additional information: none
  411. Person & email address to contact for further information:
  412. Luca Barbato: <lu_zero@gentoo.org>
  413. Intended usage: COMMON
  414. Author/Change controller:
  415. Author: Luca Barbato
  416. Change controller: IETF AVT Working Group
  417. 3.3. Loss of Configuration Headers
  418. Unlike the loss of raw Vorbis payload data, loss of a configuration
  419. header can lead to a situation where it will not be possible to
  420. successfully decode the stream.
  421. Loss of Configuration Packet results in the halting of stream
  422. decoding and SHOULD be reported to the client as well as a loss
  423. report sent via RTCP.
  424. 4. Comment Headers
  425. With the payload type flag set to 2, this indicates that the packet
  426. contain the comment metadata, such as artist name, track title and so
  427. on. These metadata messages are not intended to be fully descriptive
  428. but to offer basic track/song information. Clients MAY ignore it
  429. completely. The details on the format of the comments can be found
  430. in the Vorbis documentation [12].
  431. Barbato Expires April 24, 2006 [Page 12]
  432. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  433. 0 1 2 3
  434. 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  435. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  436. |V=2|P|X| CC |M| PT | xxxx |
  437. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  438. | xxxxx |
  439. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  440. | synchronization source (SSRC) identifier |
  441. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  442. | contributing source (CSRC) identifiers |
  443. | ... |
  444. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  445. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  446. | Ident | 0 | 2 | 1|
  447. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  448. | length | Comment ..
  449. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  450. .. Comment ..
  451. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  452. .. Comment |
  453. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  454. Figure 9: Comment Packet
  455. The 2 bytes length field is necessary since this packet could be
  456. fragmented.
  457. 5. Frame Packetizing
  458. Each RTP packet contains either one Vorbis packet fragment, or an
  459. integer number of complete Vorbis packets (up to a max of 15 packets,
  460. since the number of packets is defined by a 4 bit value).
  461. Any Vorbis data packet that is less than path MTU SHOULD be bundled
  462. in the RTP packet with as many Vorbis packets as will fit, up to a
  463. maximum of 15. Path MTU is detailed in [6] and [7].
  464. If a Vorbis packet, not only data but also Configuration and Comment,
  465. is larger than 65535 octets it MUST be fragmented. A fragmented
  466. packet has a zero in the last four bits of the payload header. The
  467. first fragment will set the Fragment type to 1. Each fragment after
  468. the first will set the Fragment type to 2 in the payload header. The
  469. RTP packet containing the last fragment of the Vorbis packet will
  470. have the Fragment type set to 3. To maintain the correct sequence
  471. for fragmented packet reception the timestamp field of fragmented
  472. packets MUST be the same as the first packet sent, with the sequence
  473. number incremented as normal for the subsequent RTP packets. The
  474. Barbato Expires April 24, 2006 [Page 13]
  475. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  476. length field shows the fragment length.
  477. 5.1. Example Fragmented Vorbis Packet
  478. Here is an example fragmented Vorbis packet split over three RTP
  479. packets. Each packet contains the standard RTP headers as well as
  480. the 4 octet Vorbis headers.
  481. Packet 1:
  482. 0 1 2 3
  483. 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  484. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  485. |V=2|P|X| CC |M| PT | 1000 |
  486. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  487. | xxxxx |
  488. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  489. | synchronization source (SSRC) identifier |
  490. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  491. | contributing source (CSRC) identifiers |
  492. | ... |
  493. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  494. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  495. | Ident | 1 | 0 | 0|
  496. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  497. | length | vorbis data ..
  498. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  499. .. vorbis data |
  500. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  501. Figure 10: Example Fragmented Packet (Packet 1)
  502. In this packet the initial sequence number is 1000 and the timestamp
  503. is xxxxx. The Fragment type is set to 1, the number of packets field
  504. is set to 0, and as the payload is raw Vorbis data the VDT field is
  505. set to 0.
  506. Barbato Expires April 24, 2006 [Page 14]
  507. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  508. Packet 2:
  509. 0 1 2 3
  510. 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  511. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  512. |V=2|P|X| CC |M| PT | 1001 |
  513. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  514. | xxxxx |
  515. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  516. | synchronization source (SSRC) identifier |
  517. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  518. | contributing source (CSRC) identifiers |
  519. | ... |
  520. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  521. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  522. | Ident | 2 | 0 | 0|
  523. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  524. | length | vorbis data ..
  525. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  526. .. vorbis data |
  527. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  528. Figure 11: Example Fragmented Packet (Packet 2)
  529. The Fragment type field is set to 2 and the number of packets field
  530. is set to 0. For large Vorbis fragments there can be several of
  531. these type of payload packets. The maximum packet size SHOULD be no
  532. greater than the path MTU, including all RTP and payload headers.
  533. The sequence number has been incremented by one but the timestamp
  534. field remains the same as the initial packet.
  535. Barbato Expires April 24, 2006 [Page 15]
  536. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  537. Packet 3:
  538. 0 1 2 3
  539. 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  540. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  541. |V=2|P|X| CC |M| PT | 1002 |
  542. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  543. | xxxxx |
  544. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  545. | synchronization source (SSRC) identifier |
  546. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  547. | contributing source (CSRC) identifiers |
  548. | ... |
  549. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  550. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  551. | Ident | 3 | 0 | 0|
  552. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  553. | length | vorbis data ..
  554. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  555. .. vorbis data |
  556. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  557. Figure 12: Example Fragmented Packet (Packet 3)
  558. This is the last Vorbis fragment packet. The Fragment type is set to
  559. 3 and the packet count remains set to 0. As in the previous packets
  560. the timestamp remains set to the first packet in the sequence and the
  561. sequence number has been incremented.
  562. 5.2. Packet Loss
  563. As there is no error correction within the Vorbis stream, packet loss
  564. will result in a loss of signal. Packet loss is more of an issue for
  565. fragmented Vorbis packets as the client will have to cope with the
  566. handling of the Fragment Type. In case of loss of fragments the
  567. client MUST discard all the remaining fragments and decode the
  568. incomplete packet. If we use the fragmented Vorbis packet example
  569. above and the first packet is lost the client MUST detect that the
  570. next packet has the packet count field set to 0 and the Fragment type
  571. 2 and MUST drop it. The next packet, which is the final fragmented
  572. packet, MUST be dropped in the same manner. If the missing packet is
  573. the last, the received two fragments will be kept and the incomplete
  574. vorbis packet decoded. Feedback reports on lost and dropped packets
  575. MUST be sent back via RTCP.
  576. If a particular multicast session has a large number of participants
  577. care must be taken to prevent an RTCP feedback implosion, [10], in
  578. the event of packet loss from a large number of participants.
  579. Barbato Expires April 24, 2006 [Page 16]
  580. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  581. Loss of any of the Configuration fragment will result in the loss of
  582. the full Configuration packet with the result detailed in the Loss of
  583. Configuration Headers (Section 3.3) section.
  584. 6. IANA Considerations
  585. MIME media type name: audio
  586. MIME subtype: vorbis
  587. Required Parameters:
  588. delivery-method: indicates the delivery methods in use, the possible
  589. values are:inline, in_band, out_band
  590. configuration: the base16 [9] (hexadecimal) representation of the
  591. Packed Headers (Section 3.2.1).
  592. Optional Parameters:
  593. configuration-uri: the URI of the configuration headers in case of
  594. out of band transmission. In the form of
  595. "protocol://path/to/resource/". Depending on the specific method the
  596. single ident packet could be retrived by their number, or aggregated
  597. in a single stream.
  598. Encoding considerations:
  599. This type is only defined for transfer via RTP as specified in RFC
  600. XXXX.
  601. Security Considerations:
  602. See Section 6 of RFC 3047.
  603. Interoperability considerations: none
  604. Published specification:
  605. See the Vorbis documentation [12] for details.
  606. Applications which use this media type:
  607. Audio streaming and conferencing tools
  608. Additional information: none
  609. Barbato Expires April 24, 2006 [Page 17]
  610. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  611. Person & email address to contact for further information:
  612. Luca Barbato: <lu_zero@gentoo.org>
  613. Intended usage: COMMON
  614. Author/Change controller:
  615. Author: Luca Barbato
  616. Change controller: IETF AVT Working Group
  617. 6.1. Mapping MIME Parameters into SDP
  618. The information carried in the MIME media type specification has a
  619. specific mapping to fields in the Session Description Protocol (SDP)
  620. [5], which is commonly used to describe RTP sessions. When SDP is
  621. used to specify sessions the mapping are as follows:
  622. o The MIME type ("audio") goes in SDP "m=" as the media name.
  623. o The MIME subtype ("vorbis") goes in SDP "a=rtpmap" as the encoding
  624. name.
  625. o The parameter "rate" also goes in "a=rtpmap" as clock rate.
  626. o The parameter "channels" also goes in "a=rtpmap" as channel count.
  627. o The mandated parameters "delivery-method" and "configuration" MUST
  628. be included in the SDP "a=fmpt" attribute.
  629. o The optional parameter "configuration-uri", when present, MUST be
  630. included in the SDP "a=fmpt" attribute.
  631. If the stream comprises chained Vorbis files and all of them are
  632. known in advance, the Configuration Packet for each file SHOULD be
  633. passed to the client using the configuration attribute.
  634. The URI specified in the configuration-uri attribute MUST point to a
  635. location where all of the Configuration Packets needed for the life
  636. of the session reside.
  637. The port value is specified by the server application bound to the
  638. address specified in the c attribute. The bitrate value and channels
  639. specified in the rtpmap attribute MUST match the Vorbis sample rate
  640. value. An example is found below.
  641. The answer to any offer, [8], MUST NOT change the URI specified in
  642. Barbato Expires April 24, 2006 [Page 18]
  643. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  644. the configuration-uri attribute. The Configuration inlined in the
  645. configuration parameter MAY change.
  646. c=IN IP4/6
  647. m=audio RTP/AVP 98
  648. a=rtpmap:98 VORBIS/44100/2
  649. a=delivery:out_band/http
  650. a=fmtp:98 delivery-method:in_band,out_band/http;
  651. configuration=base16string1;
  652. configuration-uri=http://path/to/the/resource
  653. Note that the payload format (encoding) names are commonly shown in
  654. upper case. MIME subtypes are commonly shown in lower case. These
  655. names are case-insensitive in both places. Similarly, parameter
  656. names are case-insensitive both in MIME types and in the default
  657. mapping to the SDP a=fmtp attribute. The exception regarding case
  658. sensitivity is the configuration-uri URI which MUST be regarded as
  659. being case sensitive.
  660. 7. Congestion Control
  661. Vorbis clients SHOULD send regular receiver reports detailing
  662. congestion. A mechanism for dynamically downgrading the stream,
  663. known as bitrate peeling, will allow for a graceful backing off of
  664. the stream bitrate. This feature is not available at present so an
  665. alternative would be to redirect the client to a lower bitrate stream
  666. if one is available.
  667. If a particular multicast session has a large number of participants
  668. care must be taken to prevent an RTCP feedback implosion, [10], in
  669. the event of congestion.
  670. 8. Examples
  671. The following examples are common usage patterns that MAY be applied
  672. in such situations, the main scope of this section is to explain
  673. better usage of the transmission vectors.
  674. 8.1. Stream Radio
  675. That is one of the most common situation: one single server streaming
  676. content in multicast, the clients may start a session at random time.
  677. The content itself could be a mix of live stream as the dj's speech
  678. and stored streams as the music she plays.
  679. In this situation we don't know in advance how many codebooks we will
  680. Barbato Expires April 24, 2006 [Page 19]
  681. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  682. use and. The clients can join anytime and users expect to start
  683. listening to the content in a short time
  684. On join the client will receive the current Configuration necessary
  685. to decode the current stream inlined in the SDP. And can start
  686. decoding the current stream.
  687. When the streamed content changes the new Configuration is sent in-
  688. band befoe the actual stream, and the Configuration that has to be
  689. sent inline in the SDP updated.
  690. A serverside optimization would be keep an hash list of the
  691. Configurations per session to avoid packing them and send the same
  692. Configuration with different Ident tags
  693. A clientside optimization would be keep a tag list of the
  694. Configurations per session and don't process configuration packets
  695. already known.
  696. Let's assume that the client playout buffer can store at least 7
  697. packets and that is the maximum latency.
  698. 9. Security Considerations
  699. RTP packets using this payload format are subject to the security
  700. considerations discussed in the RTP specification [3]. This implies
  701. that the confidentiality of the media stream is achieved by using
  702. encryption. Because the data compression used with this payload
  703. format is applied end-to-end, encryption may be performed on the
  704. compressed data. Where the size of a data block is set care MUST be
  705. taken to prevent buffer overflows in the client applications.
  706. 10. Acknowledgments
  707. This document is a continuation of draft-moffitt-vorbis-rtp-00.txt
  708. and draft-kerr-avt-vorbis-rtp-04.txt. The MIME type section is a
  709. continuation of draft-short-avt-rtp-vorbis-mime-00.txt.
  710. Thanks to the AVT, Ogg Vorbis Communities / Xiph.org including Steve
  711. Casner, Aaron Colwell, Ross Finlayson, Fluendo, Ramon Garcia, Pascal
  712. Hennequin, Ralph Giles, Tor-Einar Jarnbjo, Colin Law, John Lazzaro,
  713. Jack Moffitt, Christopher Montgomery, Colin Perkins, Barry Short,
  714. Mike Smith, Phil Kerr, Michael Sparks, Magnus Westerlund, David
  715. Barrett, Silvia Pfeiffer, Politecnico di Torino (LS)^3/IMG Group in
  716. particular Federico Ridolfo, Francesco Varano, Giampaolo Mancini,
  717. Juan Carlos De Martin.
  718. Barbato Expires April 24, 2006 [Page 20]
  719. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  720. 11. References
  721. 11.1. Normative References
  722. [1] Pfeiffer, S., "The Ogg Encapsulation Format Version 0",
  723. RFC 3533.
  724. [2] Bradner, S., "Key words for use in RFCs to Indicate Requirement
  725. Levels", RFC 2119.
  726. [3] Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson,
  727. "RTP: A Transport Protocol for real-time applications",
  728. RFC 3550.
  729. [4] Schulzrinne, H. and S. Casner, "RTP Profile for Audio and Video
  730. Conferences with Minimal Control.", RFC 3551.
  731. [5] Handley, M. and V. Jacobson, "SDP: Session Description
  732. Protocol", RFC 2327.
  733. [6] Mogul et al., J., "Path MTU Discovery", RFC 1063.
  734. [7] McCann et al., J., "Path MTU Discovery for IP version 6",
  735. RFC 1981.
  736. [8] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model with
  737. Session Description Protocol (SDP)", RFC 3264.
  738. [9] Josefsson, S., "The Base16, Base32, and Base64 Data Encodings",
  739. RFC 3548.
  740. [10] Ott, J., Wenger, S., Sato, N., Burmeister, C., and J. Rey,
  741. "Extended RTP Profile for RTCP-based Feedback (RTP/AVPF)",
  742. Internet Draft (draft-ietf-avt-rtcp-feedback-11: Work in
  743. progress).
  744. 11.2. Informative References
  745. [11] "libvorbis: Available from the Xiph website,
  746. http://www.xiph.org".
  747. [12] "Ogg Vorbis I specification: Codec setup and packet decode.
  748. Available from the Xiph website, http://www.xiph.org".
  749. [13] "Ogg Vorbis I specification: Comment field and header
  750. specification. Available from the Xiph website,
  751. http://www.xiph.org".
  752. Barbato Expires April 24, 2006 [Page 21]
  753. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  754. Author's Address
  755. Luca Barbato
  756. Xiph.Org
  757. Email: lu_zero@gentoo.org
  758. URI: http://www.xiph.org/
  759. Barbato Expires April 24, 2006 [Page 22]
  760. Internet-Draft draft-kerr-avt-vorbis-rtp-05 October 2005
  761. Intellectual Property Statement
  762. The IETF takes no position regarding the validity or scope of any
  763. Intellectual Property Rights or other rights that might be claimed to
  764. pertain to the implementation or use of the technology described in
  765. this document or the extent to which any license under such rights
  766. might or might not be available; nor does it represent that it has
  767. made any independent effort to identify any such rights. Information
  768. on the procedures with respect to rights in RFC documents can be
  769. found in BCP 78 and BCP 79.
  770. Copies of IPR disclosures made to the IETF Secretariat and any
  771. assurances of licenses to be made available, or the result of an
  772. attempt made to obtain a general license or permission for the use of
  773. such proprietary rights by implementers or users of this
  774. specification can be obtained from the IETF on-line IPR repository at
  775. http://www.ietf.org/ipr.
  776. The IETF invites any interested party to bring to its attention any
  777. copyrights, patents or patent applications, or other proprietary
  778. rights that may cover technology that may be required to implement
  779. this standard. Please address the information to the IETF at
  780. ietf-ipr@ietf.org.
  781. Disclaimer of Validity
  782. This document and the information contained herein are provided on an
  783. "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
  784. OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
  785. ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
  786. INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
  787. INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
  788. WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  789. Copyright Statement
  790. Copyright (C) The Internet Society (2005). This document is subject
  791. to the rights, licenses and restrictions contained in BCP 78, and
  792. except as set forth therein, the authors retain all their rights.
  793. Acknowledgment
  794. Funding for the RFC Editor function is currently provided by the
  795. Internet Society.
  796. Barbato Expires April 24, 2006 [Page 23]