Postby ShimmyShimmy » 22 Mar 2005 00:56
I did run into a similar. I was adjusting the stream amounts, but is there an option to make this buffer proportional to the file size? For example, instead of buffering 10 seconds or 0.5 megabytes ahead, say buffer 10% of the file.
Even better, could it somehow be implemented to calculate an ideal-sized buffer on its own? For example, for a file of size = S, download rate = R, and runtime t, maybe buffer size B
use a ping (or similar) to calculate an estimated download rate R (kb/s), and do the following:
total time to download = S/R
and runtime t,
so creat a buffer (for T seconds) of T = S/R - t
and a buffer size B (B kb) B = T/R
That's just an idea. I'm not a very experienced programmer, but I think the previous could be done. Alternatively, might it already be in? Thanks ahead.
Brian Lennon[/img]