Amos Hayes
2001-12-17 18:29:42 UTC
Request data when buffer < 95% full
Start playing when buffer first becomes >= 50% full
Stop when 0% full
This would work for streams where we can pull data as fast as we
want, i.e. a regular HTTP server. However for shoutcast/icecast, we only
get data at whatever the bit-rate of the song. So we'd have to wait even
longer at the beginning of the stream if we wanted to have a large buffer.
That is what I was thinking of. I'm thinking of situations where theStart playing when buffer first becomes >= 50% full
Stop when 0% full
This would work for streams where we can pull data as fast as we
want, i.e. a regular HTTP server. However for shoutcast/icecast, we only
get data at whatever the bit-rate of the song. So we'd have to wait even
longer at the beginning of the stream if we wanted to have a large buffer.
throughput might, on average, be high enough to support the stream but is
very sporatic. If you could specify a "number of seconds to cache", you
could get around some of those problems at the expense of a bit of a
wait for the stream right?
Actually, that's something I always thought was lacking from shoutcast
- when you first connect, they should start you out several seconds back
in the stream, so that you fill an initial buffer quickly.
They maintain some sort of outbound cache which can be passed at max speed- when you first connect, they should start you out several seconds back
in the stream, so that you fill an initial buffer quickly.
to a new client upon connect? Otherwise you just wind up always a few
seconds behind right?
I'm trying to picture what happens when retrieveing an mp3 stream. I
assume the bitrate is enforced by the server by virtue of it sending out
only what it has got so far... be it from a live show or where it's at
with a file from disk. Would today's clients be able to retrieve the first
few seconds at a higher rate without modification?
Kind of pie in the sky anyway.. :)
--
Amos Hayes
ahayes-***@public.gmane.org
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Unlimited PC-PC calling at Crystal Voice! - Only $1/Mo.
Download your free 30 day trial. Click here.
http://us.click.yahoo.com/Gb1xVB/GxbDAA/ySSFAA/rIp0lB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/