Page 1 of 1
question about the streaming buffer
Posted: 27 Mar 2008 03:55
by yfwong
While listening to a stream, can I check how many seconds of data is buffered up? Is it possible to set the buffer larger?
Re: question about the streaming buffer
Posted: 27 Mar 2008 06:25
by Jean-Baptiste Kempf
use all the *-caching options.
Re: question about the streaming buffer
Posted: 27 Mar 2008 07:43
by yfwong
use all the *-caching options.
Thanks, the *-caching options can configure the buffer size.
And is it possible to check the buffering status while playing a stream?
Re: question about the streaming buffer
Posted: 27 Mar 2008 07:45
by Jean-Baptiste Kempf
No, VLC fills the buffer then plays and keep the buffer full.
Re: question about the streaming buffer
Posted: 27 Mar 2008 08:20
by yfwong
It seems the latency to start playing increases with the cache size.
Re: question about the streaming buffer
Posted: 27 Mar 2008 18:27
by Jean-Baptiste Kempf
Yes. this is normal.
Re: question about the streaming buffer
Posted: 28 Mar 2008 11:12
by nvqthinh
Hi J-B,
How does VLC client keep the buffer full? In fact, what is the speed of buffering? Is it equal to the playback rate (all time) or it depends on the available throughput between the client and the server (I suppose to use UDP)?
Thanks
Re: question about the streaming buffer
Posted: 28 Mar 2008 15:57
by Jean-Baptiste Kempf
It does it at playback rate.
Re: question about the streaming buffer
Posted: 28 Mar 2008 17:47
by nvqthinh
So, what happen if the buffer is almost run out of media content due to variable network conditions for instance? At the begining, the playout starts when the buffer is filled. If the available throughput decreases below the playback rate, the media content in the buffer will decreased ( the buffer is not full now). My question is how the buffer can be full again after that? An accelerated data rate is needed or just the playout will be stoped/jumed?
Thanks for your explanation.
BR