[vorbis-dev] Update on Vorbis RTP I-D

P Oscar Boykin boykin at pobox.com
Tue Feb 11 08:41:03 PST 2003


On Tue, Feb 11, 2003 at 02:16:03PM +0000, Phil Kerr wrote:
> A, very quick, hack to add another optional method could look something
> like this:
> 
>     0                   1                   2                   3
>     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
>    |                               .....                           |
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>    | bsz 0 | bsz 1 |       Num Audio Channels      |c|m|o|r|x|x|x|x|
>    +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
>    |                        URI string length                      |
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>    ..                          URI string                          |
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>    .                            Hash Key                           |
>    +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
>    |                               .....                           |
> 
> I've added a 'r - reference' flag and the URI and hash fields should
> provide enough info. Is this close to what you had in mind?
 
URIs cannot have null characters in them, so why don't you simply have a
null terminated string for the URI and no length?

You could set an upperbound on the URI if you want to make sure it will
fit in 1 packet if you like.

Oscar.

-- 
boykin at pobox.com    http://pobox.com/~boykin    jabber: johnynek at jabber.org
fingerprint=159A FA02 DF12 E72F B68F  5B2D C368 3BCA 36D7 CF28
I use jabber for instant messages: http://www.jabber.org/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/pgp-signature
Size: 233 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20030211/24254a8c/part-0001.pgp


More information about the Vorbis-dev mailing list