[speex-dev] Speex-RTP RFC questions
Jean-Marc Valin
Jean-Marc.Valin at USherbrooke.ca
Wed Jan 14 16:04:17 PST 2004
> The RTP payload MUST be padded to provide an integer number of
> octets as the payload length. These padding bits MUST be all zero.
> This padding is only required for the last frame in the packet, and
> only to ensure the packet contents ends on an octet boundary.
AFAIK the padding changed with the latest draft and there's now a
function in speex_bits that does it all for you (and it's also called by
speex_bits_write). What that does is that it inserts a special
terminator, which allows a variable number of frames per packet without
any overhead.
Jean-Marc
--
Jean-Marc Valin, M.Sc.A., ing. jr.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée.
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040114/3b357e18/signature.pgp
More information about the Speex-dev
mailing list