[xiph-rtp] Merge all metadata in one single packet.

Silvia.Pfeiffer at csiro.au Silvia.Pfeiffer at csiro.au
Wed Oct 5 05:50:13 PDT 2005


May I suggest that CMML (which has been developed to work as an additional track in Ogg) could be one type of separate stream that solves your metadata problem. It has been designed for exactly this purpose: to update metadata over time within a stream.

If only I got around to creating a payload format for CMML over rtp/rtsp...

Cheers,
Silvia.


-----Original Message-----
From:	xiph-rtp-bounces at xiph.org on behalf of Michael Smith
Sent:	Wed 10/5/2005 4:37 AM
To:	Luca Barbato
Cc:	xiph-rtp at xiph.org
Subject:	Re: [xiph-rtp] Merge all metadata in one single packet.
On 10/4/05, Luca Barbato <lu_zero at gentoo.org> wrote:
> I'd like to merge all the 3 headers in one since the comment packet
> should be always empty or at least about 2 order lesser than the
> codebook size. That way should simplify the transmission logic a bit and
>   could make sense since codebook and setup should change together quite
> often. I'm a bit afraid about the comment changes, since they could be
> abused and really don't belong to the vorbis audio stream (and thus
> should be delivered with a different medium)

I think this is a bad idea. We should either disallow comment headers
altogether, or allow them at arbitrary points.

Doing otherwise will lead to the abuse we've seen with vorbis-in-ogg -
starting a new logical stream, with a full new set of headers, simply
to update the metadata shown in the client.

Given that we now have the opportunity to avoid this problem the
second time around, we should take it. Allowing comment headers at
arbitrary points solves the problem neatly, but your argument that
this should really be handled in a seperate stream is somewhat
compelling - hence my suggestion to just disallow them entirely.

Either way, packing the two really-mandatory setup packets (primary
and 'codebook') together seems reasonably sensible.

Mike
_______________________________________________
xiph-rtp mailing list
xiph-rtp at xiph.org
http://lists.xiph.org/mailman/listinfo/xiph-rtp




More information about the xiph-rtp mailing list