[vlc-devel] httplive.c: Improvement for Prefetch function?
jpsaman at videolan.org
Sun Apr 29 14:55:22 CEST 2012
On Sat, Apr 28, 2012 at 8:17 AM, Frederic YHUEL <fyhuel at viotech.net> wrote:
> 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).
>> - unneeded delay for fast connection
3 segments was a recommended by the HLS draft writter
>> - 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.
The httplive module is a stream_filter which limits its support for
Any changes that requires the codec to be re-instantiated is not
possible with this module type. The
module type needs to change to "access_demux".
More information about the vlc-devel