[vlc-devel] [PATCH] VLC unable to play HLS live stream

Rémi Denis-Courmont remi at remlab.net
Wed Aug 14 17:05:51 CEST 2013

Le mercredi 14 août 2013 09:04:13 Avishay Spitzer a écrit :
> Ilkka,
> The problem in TS module, is that once HLS module (HTTPLive stream filter)
> has no data, TS will think that it has reached EOF and VLC will stop
> playing.
> TS decides that it has reached EOF if the "read" operation return 0, and
> this is what HLS module return if it has no data.

That's clearly a bug in the HLS filter. It should block until it has at least 
one byte of data, hit a fatal error or definitely reached the end of the 

> I don't think that it can be solved from within the HLS module because HLS
> has no control over this. I think that TS module should treat these
> situations gracefully and retry (as I implemented).

Yes it has. Nothing forces the HLS stream filter plugin to return too early. 
other than its own bugs.

Rémi Denis-Courmont

More information about the vlc-devel mailing list