[vlc-devel] [PATCH] Allow negative rates

Paul Clark paul at packetship.com
Mon Sep 2 11:52:06 CEST 2013

On 31/08/13 16:55, Rémi Denis-Courmont wrote:
> Is there any other place that needs fixing to rewind RTSP? 

No, with this check removed RTSP rewind works fine - at least on a Mac 
VLCKit build.  It used to work in the desktop version, too, but the 
controls aren't there any more since 2.0.x, I think (they were always a 
bit odd in 0.8.x, anyway!).  Remember all the client has to do to 
provide FF/REW in RTSP is send Scale: headers in a PLAY;  the server 
should do the rest, including providing fixed-up timing information to 
make it look like a normal stream (albeit containing only I-frames and 
missing any audio).  We've had this working with VLC for years.

FYI there's no reason rewind couldn't work in HLS or DASH, too, using 
the I-frame-only variant playlist - but in this case it would have to 
expect timing to go backwards in rewind.

It certainly doesn't seem like the lib wrapper is the right place to 
enforce whether rewind is supported or not, since at least one access 
can do it fine.  The individual access modules should be checking and 
failing gracefully, I think.

Hope this helps!

Packet Ship

More information about the vlc-devel mailing list