Hi all, is there a software to multicast vorbis streams? I could not find any, so I tried myself. However, I have timing problems. Can you point me to any documentation or sample code snipets where for example the timing issues of vorbis multicast are addressed? How do I make sure, the stream is not put out faster than the clients can process the data? Synchronization is not an option, since multicast has many recipients. Timing seems to be difficult due to the vbr of the vorbis stream. Any hints are appreciated! Cheers Jens
On Monday 06 December 2004 04:33, Jens Pr?fer wrote:> Hi all, > > is there a software to multicast vorbis streams? I could not find any, so I > tried myself. However, I have timing problems. Can you point me to any > documentation or sample code snipets where for example the timing issues of > vorbis multicast are addressed?I don't know of any software for this, but there are some draft specifications for doing Vorbis over RTP that you could look at. The ogg vorbis bitstream (if we assume your input format is ogg vorbis, before you stream it as rtp/vorbis) has all the information you need for accurate timing - the ogg and vorbis documentation should make all this pretty clear, but ask here if you still have questions. Basically, you look at the sample rate of the stream, and the ogg page granulepos values, and then you can do exact timing very easily. What you CAN'T do (as you noted, this is because vorbis is VBR) is just send a constant amount of data per time interval. Mike
> How do I make sure, the stream is not put out faster than the clients > can > process the data?Just push the stream out at its "natural" rate, with some slack for buffering of course (you can't output it at a continuous rate anyway).> Synchronization is not an option, since multicast has many > recipients.You still need to synchronise, but it's the recipients' job, not the server's.> Timing seems to be difficult due to the vbr of the vorbis stream.Even with CBR, your clients' audio clock will likely drift from the server's idea of time... Segher
Hi Jens, I'm a few days away from releasing an update to the Vorbis-RTP Internet Draft together with an example multicast server. It might be good if you subscribe to the Xiph-RTP mailing list so you can join in discussions. Best regards Phil Jens Pr?fer wrote:>Hi all, > >is there a software to multicast vorbis streams? I could not find any, so I >tried myself. However, I have timing problems. Can you point me to any >documentation or sample code snipets where for example the timing issues of >vorbis multicast are addressed? > >How do I make sure, the stream is not put out faster than the clients can >process the data? Synchronization is not an option, since multicast has many >recipients. Timing seems to be difficult due to the vbr of the vorbis stream. > >Any hints are appreciated! > >Cheers > >Jens >_______________________________________________ >Vorbis-dev mailing list >Vorbis-dev@xiph.org >http://lists.xiph.org/mailman/listinfo/vorbis-dev > > >