[vorbis-dev] UDP streaming vorbis

Beni Cherniavsky cben at users.sf.net
Thu Sep 11 12:27:38 PDT 2003



Tim wrote on 2003-09-11:

> On Thu, 2003-09-11 at 10:35, Beni Cherniavsky wrote:
> > You don't want to retransmit over the multicast channel to all the
> > clients when you get a request from only one of them.  OTOH, If you
> > get too many requests, it's better to retransmit from time to time.
> > Depends on usage pattern (number of clients, frequency of joining,
> > average length of tracks).
>
> I thought about this also, and decided the best way to do it would be by
> clients requesting the headers over a TCP connection. Also, if you want
> to have the title/artist change per song rather than just staying as
> "Virgin Radio" or whatever, you should send the headers over the
> multicast thing when you want it to change. The fact that the clients
> connect via TCP would also let you collect stats easier.
>
When the headers change, you should definitely multicast the headers,
since you don't want all clients that are listening to suddenly
request them over tcp (you will still get a few requests from those
clients that didn't recieve them intact).  The only question is the
balance between periodic retransmission on the multicast channel and
per-client tcp requests (dominated by clients that join only now).
An adaptive algorithm would be interesting.

And in the OP's case, all this is moot since he settled for fixed
headers that don't need to be transmitted.  Well, not entirely moot if
he wants to transmit metadata comments.


-- 
Beni Cherniavsky <cben at users.sf.net>
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list