%ents; ]>
Mandatory-to-Implement Technologies for Jingle RTP Sessions This specification defines mandatory-to-implement technologies for Jingle RTP sessions, in particular codecs for voice and video chat. &LEGALNOTICE; xxxx ProtoXEP Standards Track Standards Council XMPP Core XEP-0167 N/A jingle &stpeter; 0.0.2 2009-03-04 psa

Added more information about video codecs.

0.0.1 2009-03-04 psa

First draft, copied from XEP-0167 with slight revisions and addition of requirements section.

&xep0167; defines the &xep0166; signalling exchanges needed to establish voice and video chat using the Real-time Transport Protocol &rfc3550;; however, it does not specify the recommended voice and video codecs, since the state of codec technologies is more fluid than the signalling interactions. This specification defines the recommended codecs for the sake of interoperability between Jingle voice and video applications.

The following requirements apply to codec recommendations.

  1. The encoding quality of the codec MUST be acceptable for use among XMPP users.
  2. The codec specification MUST clearly define packetization of data for sending over the Realtime Transport Protocol (RTP).
  3. The codec SHOULD be widely used in Internet or other systems, thus enabling interoperability between Jingle applications and non-Jingle applications.
  4. The codec SHOULD NOT be patent-encumbered or, at the least, SHOULD be available under royalty-free licenses.

The Speex codec is an open source / free software, patent-free, audio compression format for the encoding of human speech; it is developed and maintained by xiph.org. The following table summarizes the available information about Speex.

Quality RTP Packetization Availability Patent Encumbrance
Good quality; optimized for voice; can be used for wide-band audio. See &rfc5574;. Widely available and freely downloadable under a revised BSD license at <http://speex.org/>. Designed to be patent-free.

G.711 refers to the Pulse Code Modulation (PCM) codec defined in &ITU; recommendation G.711, which is widely used on the public switched telephone network (PSTN) and by many voice over Internet Protocol (VoIP) providers. There are two versions: the μ-law ("U-law") version is widely deployed in North America and in Japan and the A-law version is widely deployed in the rest of the world. The following table summarizes the available information about G.711.

Quality RTP Packetization Availability Patent Encumbrance
Good quality; no wide-band mode. See &rfc5391;. Widely supported in PSTN and VoIP systems. Developed in 1972; patents have expired.

The Theora codec is an open source / free software, patent-free, video compression format developed and maintained by xiph.org. The following table summarizes the available information about Theora.

Quality RTP Packetization Availability Patent Encumbrance
Unknown. See &rtptheora;. Widely available and freely downloadable under a revised BSD license at <http://theora.org/>. Designed to be patent-free.

H.264 is a technology for video compression jointly designed by the ITU and the &ISO;. The following table summarizes the available information about Theora.

Quality RTP Packetization Availability Patent Encumbrance
Unknown. See &rfc3984;. Unknown. Patented.

For security considerations, refer to XEP-0167.

This document requires no interaction with &IANA;.

This document requires no interaction with the ®ISTRAR;.

Thanks to Olivier CrĂȘte, Dave Cridland, Justin Karneges, Tobias Markmann, Jeff Muller, Arc Riley, Kevin Smith, Justin Uberti, and Paul Witty for their feedback.