draft-herlein-avt-rtp-speex-00.txt 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699
  1. Internet Engineering Task Force Greg Herlein
  2. Internet Draft Jean-Marc Valin
  3. draft-herlein-avt-rtp-speex-00.txt Simon Morlat
  4. March 3, 2004 Roger Hardiman
  5. Expires: September 3, 2004 Phil Kerr
  6. RTP Payload Format for the Speex Codec
  7. Status of this Memo
  8. This document is an Internet-Draft and is in full conformance with
  9. all provisions of Section 10 of RFC 2026.
  10. Internet-Drafts are working documents of the Internet Engineering
  11. Task Force (IETF), its areas, and its working groups. Note that
  12. other groups may also distribute working documents as Internet-
  13. Drafts.
  14. Internet-Drafts are draft documents valid for a maximum of six
  15. months and may be updated, replaced, or obsoleted by other
  16. documents at any time. It is inappropriate to use Internet-Drafts
  17. as reference material or to cite them other than as "work in
  18. progress".
  19. The list of current Internet-Drafts can be accessed at
  20. http://www.ietf.org/ietf/1id-abstracts.txt
  21. To view the list Internet-Draft Shadow Directories, see
  22. http://www.ietf.org/shadow.html.
  23. Copyright Notice
  24. Copyright (C) The Internet Society (2003). All Rights Reserved.
  25. Abstract
  26. Speex is an open-source voice codec suitable for use in Voice over
  27. IP (VoIP) type applications. This document describes the payload
  28. format for Speex generated bit streams within an RTP packet. Also
  29. included here are the necessary details for the use of Speex with
  30. the Session Description Protocol (SDP) and a preliminary method of
  31. using Speex within H.323 applications.
  32. 1. Conventions used in this document
  33. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
  34. "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
  35. document are to be interpreted as described in RFC 2119 [5].
  36. Herlein, Valin, et. al. Expires September 3, 2004 [Page 1]
  37. ^L
  38. Internet-Draft draft-herlein-avt-rtp-speex-00.txt March 3, 2004
  39. 2. Overview of the Speex Codec
  40. Speex is based on the CELP [12] encoding technique with support for
  41. either narrowband (nominal 8kHz), wideband (nominal 16kHz) or
  42. ultra-wideband (nominal 32kHz), and (non-optimal) rates up to 48 kHz
  43. sampling also available. The main characteristics can be summarized
  44. as follows:
  45. o Free software/open-source
  46. o Integration of wideband and narrowband in the same bit-stream
  47. o Wide range of bit-rates available
  48. o Dynamic bit-rate switching and variable bit-rate (VBR)
  49. o Voice Activity Detection (VAD, integrated with VBR)
  50. o Variable complexity
  51. 3. RTP payload format for Speex
  52. For RTP based transportation of Speex encoded audio the standard
  53. RTP header [2] is followed by one or more payload data blocks.
  54. An optional padding terminator may also be used.
  55. 0 1 2 3
  56. 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
  57. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  58. | RTP Header |
  59. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  60. | one or more frames of Speex .... |
  61. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  62. | one or more frames of Speex .... | padding |
  63. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  64. 3.1 RTP Header
  65. 0 1 2 3
  66. 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
  67. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  68. |V=2|P|X| CC |M| PT | sequence number |
  69. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  70. | timestamp |
  71. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  72. | synchronization source (SSRC) identifier |
  73. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  74. | contributing source (CSRC) identifiers |
  75. | ... |
  76. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  77. The RTP header begins with an octet of fields (V, P, X, and CC) to
  78. support specialized RTP uses (see [8] and [9] for details). For
  79. Speex the following values are used.
  80. Herlein, Valin, et. al. Expires September 3, 2004 [Page 2]
  81. ^L
  82. Internet-Draft draft-herlein-avt-rtp-speex-00.txt March 3, 2004
  83. Version (V): 2 bits
  84. This field identifies the version of RTP. The version
  85. used by this specification is two (2).
  86. Padding (P): 1 bit
  87. If the padding bit is set, the packet contains one or more
  88. additional padding octets at the end which are not part of
  89. the payload. P is set if the total packet size is less than
  90. the MTU.
  91. Extension (X): 1 bit
  92. If the extension, X, bit is set, the fixed header MUST be
  93. followed by exactly one header extension, with a format defined
  94. in Section 5.3.1. of [8],
  95. CSRC count (CC): 4 bits
  96. The CSRC count contains the number of CSRC identifiers.
  97. Marker (M): 1 bit
  98. The M bit indicates if the packet contains comfort noise. This
  99. field is used in conjunction with the cng SDP attribute and is
  100. detailed further in section 5 below. In normal usage this bit
  101. is set if the packet contains comfort noise.
  102. Payload Type (PT): 7 bits
  103. An RTP profile for a class of applications is expected to assign
  104. a payload type for this format, or a dynamically allocated
  105. payload type SHOULD be chosen which designates the payload as
  106. Speex.
  107. Sequence number: 16 bits
  108. The sequence number increments by one for each RTP data packet
  109. sent, and may be used by the receiver to detect packet loss and
  110. to restore packet sequence. This field is detailed further in
  111. [2].
  112. Timestamp: 32 bits
  113. A timestamp representing the sampling time of the first sample of
  114. the first Speex packet in the RTP packet. The clock frequency
  115. MUST be set to the sample rate of the encoded audio data.
  116. Speex uses 20 msec frames and a variable sampling rate clock.
  117. The RTP timestamp MUST be in units of 1/X of a second where X
  118. is the sample rate used. Speex uses a nominal 8kHz sampling rate
  119. for narrowband use, a nominal 16kHz sampling rate for wideband use,
  120. and a nominal 32kHz sampling rate for ultra-wideband use.
  121. SSRC/CSRC identifiers:
  122. These two fields, 32 bits each with one SSRC field and a maximum
  123. of 16 CSRC fields, are as defined in [2].
  124. Herlein, Valin, et. al. Expires September 3, 2004 [Page 3]
  125. ^L
  126. Internet-Draft draft-herlein-avt-rtp-speex-00.txt March 3, 2004
  127. 3.2 Speex payload
  128. For the purposes of packetizing the bit stream in RTP, it is only
  129. necessary to consider the sequence of bits as output by the Speex
  130. encoder [11], and present the same sequence to the decoder. The
  131. payload format described here maintains this sequence.
  132. A typical Speex frame, encoded at the maximum bitrate, is approx.
  133. 110 octets and the total number of Speex frames SHOULD be kept
  134. less than the path MTU to prevent fragmentation. Speex frames MUST
  135. NOT be fragmented across multiple RTP packets,
  136. An RTP packet MAY contain Speex frames of the same bit rate or of
  137. varying bit rates, since the bit-rate for a frame is conveyed in
  138. band with the signal.
  139. The encoding and decoding algorithm can change the bit rate at any
  140. 20 msec frame boundary, with the bit rate change notification provided
  141. in-band with the bit stream. Each frame contains both "mode"
  142. (narrowband, wideband or ultra-wideband) and "sub-mode" (bit-rate)
  143. information in the bit stream. No out-of-band notification is
  144. required for the decoder to process changes in the bit rate sent
  145. by the encoder.
  146. It is RECOMMENDED that values of 8000, 16000 and 32000 be used
  147. for normal internet telephony applications, though the sample
  148. rate is supported at rates as low as 6000 Hz and as high as
  149. 48 kHz.
  150. The RTP payload MUST be padded to provide an integer number of
  151. octets as the payload length. These padding bits are LSB aligned
  152. in network byte order and consist of a 0 followed by all ones
  153. (until the end of the octet). This padding is only required for
  154. the last frame in the packet, and only to ensure the packet
  155. contents ends on an octet boundary.
  156. 3.2.1 Example Speex packet
  157. In the example below we have a single Speex frame with 5 bits
  158. of padding to ensure the packet size falls on an octet boundary.
  159. 0 1 2 3
  160. 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
  161. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  162. |V=2|P|X| CC |M| PT | sequence number |
  163. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  164. | timestamp |
  165. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  166. | synchronization source (SSRC) identifier |
  167. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  168. Herlein, Valin, et. al. Expires September 3, 2004 [Page 4]
  169. ^L
  170. Internet-Draft draft-herlein-avt-rtp-speex-00.txt March 3, 2004
  171. 0 1 2 3
  172. 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
  173. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  174. | contributing source (CSRC) identifiers |
  175. | ... |
  176. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  177. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  178. | ..speex data.. |
  179. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  180. | ..speex data.. |0 1 1 1 1|
  181. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  182. 3.4 Multiple Speex frames in a RTP packet
  183. Below is an example of two Speex frames contained within one RTP
  184. packet. The Speex frame length in this example fall on an octet
  185. boundary so there is no padding.
  186. Speex codecs [11] are able to detect the the bitrate from the
  187. payload and are responsible for detecting the 20 msec boundaries
  188. between each frame.
  189. 0 1 2 3
  190. 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
  191. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  192. |V=2|P|X| CC |M| PT | sequence number |
  193. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  194. | timestamp |
  195. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  196. | synchronization source (SSRC) identifier |
  197. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  198. | contributing source (CSRC) identifiers |
  199. | ... |
  200. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  201. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  202. | ..speex data.. |
  203. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  204. | ..speex data.. | ..speex data.. |
  205. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  206. | ..speex data.. |
  207. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  208. 4. MIME registration of Speex
  209. Full definition of the MIME type for Speex will be part of the Ogg
  210. Vorbis MIME type definition application [10].
  211. MIME media type name: audio
  212. MIME subtype: speex
  213. Herlein, Valin, et. al. Expires September 3, 2004 [Page 5]
  214. ^L
  215. Internet-Draft draft-herlein-avt-rtp-speex-00.txt March 3, 2004
  216. Optional parameters:
  217. Required parameters: to be included in the Ogg MIME specification.
  218. Encoding considerations:
  219. Security Considerations:
  220. See Section 6 of RFC 3047.
  221. Interoperability considerations: none
  222. Published specification:
  223. Applications which use this media type:
  224. Additional information: none
  225. Person & email address to contact for further information:
  226. Greg Herlein <gherlein@herlein.com>
  227. Jean-Marc Valin <jean-marc.valin@hermes.usherb.ca>
  228. Intended usage: COMMON
  229. Author/Change controller:
  230. Author: Greg Herlein <gherlein@herlein.com>
  231. Change controller: Greg Herlein <gherlein@herlein.com>
  232. This transport type signifies that the content is to be interpreted
  233. according to this document if the contents are transmitted over RTP.
  234. Should this transport type appear over a lossless streaming protocol
  235. such as TCP, the content encapsulation should be interpreted as an
  236. Ogg Stream in accordance with RFC 3534, with the exception that the
  237. content of the Ogg Stream may be assumed to be Speex audio and
  238. Speex audio only.
  239. 5. SDP usage of Speex
  240. When conveying information by SDP [4], the encoding name MUST be
  241. set to "speex". An example of the media representation in SDP for
  242. offering a single channel of Speex at 8000 samples per second might
  243. be:
  244. m=audio 8088 RTP/AVP 97
  245. a=rtpmap:97 speex/8000
  246. Note that the RTP payload type code of 97 is defined in this media
  247. definition to be 'mapped' to the speex codec at an 8kHz sampling
  248. frequency using the 'a=rtpmap' line. Any number from 96 to 127
  249. could have been chosen (the allowed range for dynamic types).
  250. Herlein, Valin, et. al. Expires September 3, 2004 [Page 6]
  251. ^L
  252. Internet-Draft draft-herlein-avt-rtp-speex-00.txt March 3, 2004
  253. The value of the sampling frequency is typically 8000 for narrow band
  254. operation, 16000 for wide band operation, and 32000 for ultra-wide
  255. band operation.
  256. If for some reason the offerer has bandwidth limitations, the client
  257. may use the "b=" header, as explained in SDP [4]. The following example
  258. illustrates the case where the offerer cannot receive more than
  259. 10 kbit/s.
  260. m=audio 8088 RTP/AVP 97
  261. b=AS:10
  262. a=rtmap:97 speex/8000
  263. In this case, if the remote part agrees, it should configure its
  264. Speex encoder so that it does not use modes that produce more than
  265. 10 kbit/s. Note that the "b=" constraint also applies on all
  266. payload types that may be proposed in the media line ("m=").
  267. An other way to make recommendations to the remote Speex encoder
  268. is to use its specific parameters via the a=fmtp: directive. The
  269. following parameters are defined for use in this way:
  270. ptime: duration of each packet in milliseconds.
  271. sr: actual sample rate in Hz.
  272. ebw: encoding bandwidth - either 'narrow' or 'wide' or
  273. 'ultra' (corresponds to nominal 8000, 16000, and
  274. 32000 Hz sampling rates).
  275. vbr: variable bit rate - either 'on' 'off' or 'vad'
  276. (defaults to off). If on, variable bit rate is
  277. enabled. If off, disabled. If set to 'vad' then
  278. constant bit rate is used but silence will be encoded
  279. with special short frames to indicate a lack of voice
  280. for that period.
  281. cng: comfort noise generation - either 'on' or 'off'. If
  282. off then silence frames will be silent; if 'on' then
  283. those frames will be filled with comfort noise.
  284. mode: Speex encoding mode. Can be {1,2,3,4,5,6,any}
  285. defaults to 3 in narrowband, 6 in wide and ultra-wide.
  286. penh: use of perceptual enhancement. 1 indicates
  287. to the decoder that perceptual enhancement is recommended,
  288. 0 indicates that it is not. Defaults to on (1).
  289. Herlein, Valin, et. al. Expires September 3, 2004 [Page 7]
  290. ^L
  291. Internet-Draft draft-herlein-avt-rtp-speex-00.txt March 3, 2004
  292. Examples:
  293. m=audio 8008 RTP/AVP 97
  294. a=rtpmap:97 speex/8000
  295. a=fmtp:97 mode=4
  296. This examples illustrate an offerer that wishes to receive
  297. a Speex stream at 8000Hz, but only using speex mode 3.
  298. The offerer may suggest to the remote decoder to activate
  299. its perceptual enhancement filter like this:
  300. m=audio 8088 RTP/AVP 97
  301. a=rtmap:97 speex/8000
  302. a=fmtp:97 penh=1
  303. Several Speex specific parameters can be given in a single
  304. a=fmtp line provided that they are separated by a semi-colon:
  305. a=fmtp:97 mode=any;penh=1
  306. The offerer may indicate that it wishes to send variable bit rate
  307. frames with comfort noise:
  308. m=audio 8088 RTP/AVP 97
  309. a=rtmap:97 speex/8000
  310. a=fmtp:97 vbr=on;cng=on
  311. The "ptime" attribute is used to denote the packetization
  312. interval (ie, how many milliseconds of audio is encoded in a
  313. single RTP packet). Since Speex uses 20 msec frames, ptime values
  314. of multiples of 20 denote multiple Speex frames per packet.
  315. Values of ptime which are not multiples of 20 MUST be ignored
  316. and clients MUST use the default value of 20 instead.
  317. In the example below the ptime value is set to 40, indicating that
  318. there are 2 frames in each packet.
  319. m=audio 8008 RTP/AVP 97
  320. a=rtpmap:97 speex/8000
  321. a=ptime:40
  322. Note that the ptime parameter applies to all payloads listed
  323. in the media line and is not used as part of an a=fmtp directive.
  324. Values of ptime not multiple of 20 msec are meaningless, so the
  325. receiver of such ptime values MUST ignore them. If during the
  326. life of an RTP session the ptime value changes, when there are
  327. multiple Speex frames for example, the SDP value must also reflect
  328. the new value.
  329. Herlein, Valin, et. al. Expires September 3, 2004 [Page 8]
  330. ^L
  331. Internet-Draft draft-herlein-avt-rtp-speex-00.txt March 3, 2004
  332. Care must be taken when setting the value of ptime so that the
  333. RTP packet size does not exceed the path MTU.
  334. 6. ITU H.323/H.245 Use of Speex
  335. Application is underway to make Speex a standard ITU codec.
  336. However, until that is finalized, Speex MAY be used in H.323 [6] by
  337. using a non-standard codec block definition in the H.245 [7] codec
  338. capability negotiations.
  339. 6.1 NonStandardMessage format
  340. For Speex use in H.245 [7] based systems, the fields in the
  341. NonStandardMessage should be:
  342. t35CountryCode = Hex: B5
  343. t35Extension = Hex: 00
  344. manufacturerCode = Hex: 0026
  345. [Length of the Binary Sequence (8 bit number)]
  346. [Binary Sequence consisting of an ASCII string, no NULL terminator]
  347. The binary sequence is an ascii string merely for ease of use.
  348. The string is not null terminated. The format of this string is
  349. speex [optional variables]
  350. The optional variables are identical to those used for the SDP
  351. a=fmtp strings discussed in section 5 above. The string is built
  352. to be all on one line, each key-value pair separated by a
  353. semi-colon. The optional variables MAY be omitted, which causes
  354. the default values to be assumed. They are:
  355. ebw=narrow;mode=3;vbr=off;cng=off;ptime=20;sr=8000;penh=no;
  356. The fifth byte of the block is the length of the binary sequence.
  357. NOTE: this method can result in the advertising of a large number
  358. of Speex 'codecs' based on the number of variables possible. For
  359. most VoIP applications, use of the default binary sequence of
  360. 'speex' is RECOMMENDED to be used in addition to all other options.
  361. This maximizes the chances that two H.323 based applications that
  362. support Speex can find a mutual codec.
  363. 6.2 RTP Payload Types
  364. Dynamic payload type codes MUST be negotiated 'out-of-band'
  365. for the assignment of a dynamic payload type from the
  366. range of 96-127. H.323 applications MUST use the H.245
  367. H2250LogicalChannelParameters encoding to accomplish this.
  368. Herlein, Valin, et. al. Expires September 3, 2004 [Page 9]
  369. ^L
  370. Internet-Draft draft-herlein-avt-rtp-speex-00.txt March 3, 2004
  371. 7. Security Considerations
  372. RTP packets using the payload format defined in this specification
  373. are subject to the security considerations discussed in the RTP
  374. specification [2], and any appropriate RTP profile. This implies
  375. that confidentiality of the media streams is achieved by encryption.
  376. Because the data compression used with this payload format is applied
  377. end-to-end, encryption may be performed after compression so there is
  378. no conflict between the two operations.
  379. A potential denial-of-service threat exists for data encodings using
  380. compression techniques that have non-uniform receiver-end
  381. computational load. The attacker can inject pathological datagrams
  382. into the stream which are complex to decode and cause the receiver to
  383. be overloaded. However, this encoding does not exhibit any
  384. significant non-uniformity.
  385. As with any IP-based protocol, in some circumstances a receiver may
  386. be overloaded simply by the receipt of too many packets, either
  387. desired or undesired. Network-layer authentication may be used to
  388. discard packets from undesired sources, but the processing cost of
  389. the authentication itself may be too high.
  390. 8. Normative References
  391. 1. Bradner, S., "The Internet Standards Process -- Revision 3", BCP
  392. 9, RFC 2026, October 1996.
  393. 2. Schulzrinne, H., Casner, S., Frederick, R. and V. Jacobson, "RTP:
  394. A Transport Protocol for real-time applications", RFC 1889,
  395. January 1996.
  396. 3. Freed, N. and N. Borenstein, "Multipurpose Internet Mail
  397. Extensions (MIME) Part One: Format of Internet Message Bodies",
  398. RFC 2045, November 1996.
  399. 4. Handley, M. and V. Jacobson, "SDP: Session Description
  400. Protocol", RFC 2327, April 1998.
  401. 5. Bradner, S., "Key words for use in RFCs to Indicate Requirement
  402. Levels", BCP 14, RFC 2119, March 1997.
  403. 6. ITU-T Recommendation H.323. "Packet-based Multimedia
  404. Communications Systems," 1998.
  405. 7. ITU-T Recommendation H.245 (1998), "Control of communications
  406. between Visual Telephone Systems and Terminal Equipment".
  407. 8. RTP: A transport protocol for real-time applications. Work
  408. in progress, draft-ietf-avt-rtp-new-12.txt.
  409. Herlein, Valin, et. al. Expires September 3, 2004 [Page 10]
  410. ^L
  411. Internet-Draft draft-herlein-avt-rtp-speex-00.txt March 3, 2004
  412. 9. RTP Profile for Audio and Video Conferences with Minimal
  413. Control. Work in progress, draft-ietf-avt-profile-new-13.txt.
  414. 10. L. Walleij, "The application/ogg Media Type", RFC 3534, May
  415. 2003.
  416. 8.1 Informative References
  417. 11. Speexenc/speexdec, reference command-line encoder/decoder,
  418. Speex website, http://www.speex.org/
  419. 12. CELP, U.S. Federal Standard 1016. National Technical
  420. Information Service (NTIS) website, http://www.ntis.gov/
  421. 9. Acknowledgments
  422. The authors would like to thank Equivalence Pty Ltd of Australia
  423. for their assistance in attempting to standardize the use of Speex
  424. in H.323 applications, and for implementing Speex in their open
  425. source OpenH323 stack. The authors would also like to thank Brian
  426. C. Wiles <brian@streamcomm.com> of StreamComm for his assistance in
  427. developing the proposed standard for Speex use in H.323
  428. applications.
  429. The authors would also like to thank the following members of the
  430. Speex and AVT communities for their input: Ross Finlayson,
  431. Federico Montesino Pouzols, Henning Schulzrinne, Magnus Westerlund.
  432. 10. Author's Address
  433. Greg Herlein <gherlein@herlein.com>
  434. 2034 Filbert Street
  435. San Francisco, CA
  436. United States 94123
  437. Jean-Marc Valin <jean-marc.valin@hermes.usherb.ca>
  438. Department of Electrical and Computer Engineering
  439. University of Sherbrooke
  440. 2500 blvd UniversitüÃü­üÃé
  441. Sherbrooke, Quebec, Canada, J1K 2R1
  442. Simon MORLAT <simon.morlat@linphone.org>
  443. 35, av de Vizille App 42
  444. 38000 GRENOBLE
  445. FRANCE
  446. Herlein, Valin, et. al. Expires September 3, 2004 [Page 11]
  447. ^L
  448. Internet-Draft draft-herlein-avt-rtp-speex-00.txt March 3, 2004
  449. Roger Hardiman <roger@freebsd.org>
  450. 49 Nettleton Road
  451. Cheltenham
  452. Gloucestershire
  453. GL51 6NR
  454. England
  455. Phil Kerr <philkerr@elec.gla.ac.uk>
  456. Centre for Music Technology
  457. University of Glasgow
  458. Glasgow
  459. G12 8LT
  460. Scotland
  461. 10. Full Copyright Statement
  462. Copyright (C) The Internet Society (2003). All Rights Reserved.
  463. This document and translations of it may be copied and furnished to
  464. others, and derivative works that comment on or otherwise explain it
  465. or assist in its implementation may be prepared, copied, published
  466. and distributed, in whole or in part, without restriction of any
  467. kind, provided that the above copyright notice and this paragraph are
  468. included on all such copies and derivative works. However, this
  469. document itself may not be modified in any way, such as by removing
  470. the copyright notice or references to the Internet Society or other
  471. Internet organizations, except as needed for the purpose of
  472. developing Internet standards in which case the procedures for
  473. copyrights defined in the Internet Standards process must be
  474. followed, or as required to translate it into languages other than
  475. English.
  476. The limited permissions granted above are perpetual and will not be
  477. revoked by the Internet Society or its successors or assigns.
  478. This document and the information contained herein is provided on an
  479. "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
  480. TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
  481. BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
  482. HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
  483. MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  484. Acknowledgement
  485. Funding for the RFC Editor function is currently provided by the
  486. Internet Society.
  487. Herlein, Valin, et. al. Expires September 3, 2004 [Page 12]
  488. ^L