[vlc-devel] HTTP Timeshift
Rémi Denis-Courmont
remi at remlab.net
Mon Mar 7 18:58:12 CET 2011
Le dimanche 6 mars 2011 13:57:22 Tobias Güntner, vous avez écrit :
> I had problems enabling timeshift for HTTP streams. Apparently VLC
> assumes every HTTP stream can be paused and resumed. Unfortunately this
> does not work for live streams.
> I've attached a patch which changes two things:
> * First, it generally enables timeshift if a stream cannot be paused.
For a live stream, VLC cannot pause nor control the pace. Either way, the
server will disconnect the client once the buffers get full. Hence, I don't
see the need for this change.
> * Second, ACCESS_CAN_PAUSE will return false for HTTP streams without a
> known response length. This seems to be a useful indicator to identify
> live streams.
As said, if you cannot pause the HTTP stream, you probably cannot pace it any
better. So I think this patch should not add a distinction there.
--
Rémi Denis-Courmont
http://www.remlab.info/
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list