[vlc-devel] httplive.c: Improvement for Prefetch function?

Frederic YHUEL fyhuel at viotech.net
Sat Apr 28 08:17:25 CEST 2012


Hello,

2012/4/27 Łukasz Korbel <korbel85 at gmail.com>:
> Prefetch function downloads 2 segments before playback start to avoid
> stalling (see http://trac.videolan.org/vlc/ticket/5197).
>
> Problem:
> - unneeded delay for fast connection

Indeed

> - doesn't solve the problem completely
>

Indeed, the right solution is my patch: http://patches.videolan.org/patch/306/

> Posible solution:
> add option for number of segments to prefetch (e.g.
> --sout-hls-prefetchnum) with minimum set to 1 (must download first
> segment at least).

This is not a good solution IMO.

Hey, if you want to do something, why don't you try and work on
resolution switches support? *That* would be really useful! This is
the #1 problem of this module.

Best Regards,

--
Frédéric



More information about the vlc-devel mailing list