2011-03-08, 20:02
nmirza Wrote:Hi, i use the youtube plugin extensively and had a couple of questions/issues:
- Buffer size: how does the plugin buffer? is there some way to increase this? does it just buffer the next say 10 seconds, or does it start plyaing and then continues to load rest of the video depending on your internet connection? i have a really fast cable connection, the site gives me no problems, but I find sometimes i get pauses when playing via this plugin. I've also noticed sometimes the video just completely pauses, and wont start playing no matter what i do how long i wait for it.
- large forward/small forward: somewhat related to above, I've noticed the first time i do a short/longjump in video, the video moves forward, but successive jumps take a while to load, especially on a long jump it will take up to 20-30 seconds to jump forward, and sometimes just stops. is it because the video isn't fully buffered, or some other issue?
I'm not sure if this is an xbmc issue, or a plugin issue but would be great if you could address this.
This has to do with how YouTube throttles it's bandwidth. It starts out with an initial big burst, and then the speed slows down for the rest of the video. The flash client can probably send a request to the server and ask for a new burst(Or it just resets the connection when you track in the video). But we have no such ability.
I am sitting on a pretty decent line as well, and have encountered these problems a lot. Sadly there is no "workable" solution to the problem.
There is one possible work around, download the file first, and reconnect after the initial burst. This should keep the transfer rate high. But i'm not sure this is a good thing to implement, and i'm sure Google will hate it.