[vlc-devel] http live stream filter: FIXME for bandwidth calc in modules/stream_filter/httplive.c

Frederic YHUEL fyhuel at viotech.net
Tue Jan 3 09:31:41 CET 2012

Hi Paul,

On Tue, Jan 3, 2012 at 4:38 AM, Paul Hawkins <hawk at kmpc.net> wrote:
> I have enjoyed my holiday break learning the input stream filter module http
> live as I have need of it in my work.
> In modules/stream_filter/http_live.c  the Download function has a comment:
>  FIXME: we need an average here.
> My understanding is the code currently bases it decision on the which stream
> to use next by comparing the current calculated  bandwidth it just got from
> the download of the last segment with the published b/w of the stream it
> just download from.
> If this is correct does the FIXME comment mean the author wants to base
> decision on an average of bandwidths as determined by some amount of past
> downloads?

Yes it is, as Jean-Paul explained in a previous mail:

> Cheers.
> p.s. this is my first post so I am fresh meat ;-).  If I am asking my
> question incorrectly per custom please feel free to offer me a clue. :-)

IMHO I don't see what could be wrong, beside (maybe?) use of html
instead of plain text :-)



More information about the vlc-devel mailing list