Xiph.org RTP





RTP Payload Format for Vorbis Encoded Audio

This document describes a RTP payload format for transporting Vorbis encoded audio. It details the RTP encapsulation mechanism for raw Vorbis data and details the delivery mechanisms for the decoder probability model, referred to as a codebook, metadata and other setup information.

draft-ietf-avt-vorbis-rtp-00



Example Vorbis RTP Server

This small example server multicasts Vorbis data based on the RTP Internet Draft detailed above.

Status

Status is currently pre-alpha, please see the Bugs/Todo list below.

Download

vorbisrtp.c.gz

Compiling

After unpacking, compile the server like so:

$ gunzip vorbisrtp.c.gz
$ gcc vorbisrtp.c -o vorbisrtp -lvorbis -logg -Wall

Running

The server is invoked like so:

$ ./vorbisrtp -i 229.0.0.1 -p 5000 -t 5 sample.ogg

The command line options are:

$ ./vorbisrtp [-i] [-p] [-t] filename

  • -i IP address. Can be unicast or multicast. Default = 227.0.0.1
  • -p Port number. Default = 4044
  • -t TTL value. Default = 1
  • Ogg Vorbis filename

Bugs/Todo

  1. Boundary misalignment with packed frames
  2. Multiple Vorbis file streaming.
  3. Link to SAP/SIP server for SDP handling.
  4. Metadata removed from this version.





RTP Payload Format for Theora Encoded Video

This document describes a RTP payload format for transporting Theora encoded video. It details the RTP encapsulation mechanism for raw Theora data and configuration headers consisting of the quantization matrices and the Huffman codebooks for the DCT coefficients, and a table of limit values for the deblocking filter.

draft-kerr-avt-theora-rtp-00