开发者

Why is there no flash video player that holds on to *all* cached data blocks (even if the user skips forwards and back)?

开发者 https://www.devze.com 2023-03-09 09:47 出处:网络
Is this fundamentally not po开发者_开发百科ssible on the flash platform?I don\'t like to say \"impossible\" when it comes to programming as there are always solutions, it\'s just whether or not the so

Is this fundamentally not po开发者_开发百科ssible on the flash platform?


I don't like to say "impossible" when it comes to programming as there are always solutions, it's just whether or not the solutions are worthwhile.

The cached blocks are generated server-side, and are sent to Flash as independently generated FLV files. Each time the user seeks to a spot that is outside the loaded parts of the video, the server needs to generate a new FLV file from that location.

It may be possible to intelligently stream sections until the next block of cached video, stop the stream, then as it plays switch between the cached videos depending on where the user seeks to. However I'd imagine this to be a very ugly and hacky solution, and not to mention the jumpy playback as it switches videos

0

精彩评论

暂无评论...
验证码 换一张
取 消