[vlc-devel] [PATCH]RTSP Trickplay in 0.8.6c

Jean-Paul Saman jean-paul.saman at planet.nl
Thu Nov 22 19:01:15 CET 2007


Glen Gray wrote:
> Remi Denis-Courmont wrote:
>>> Is it possible to determine support for scale value from RTSP response
>>> on OPTIONS? Or can we assume scale support is always possible?
>> In principle, Scale must be understoood, though the server is free to use
>> another value or return an error, if it does not like the specified value.
>  From my reading of the RFC2326 document, there is no way to know if the 
> server supports the Scale feature as it's an optional feature in the RFC 
> spec. Ross might be able to comment on if I'm mistaken here.
> 
> However, as you said, the server will either be free to use another 
> value that it deems sensible or return an error.
> 
> If it's possible, the interface layer (in the context of my patch rc.c) 
> could query the demux and if it responds to the 
> DEMUX_HAS_SCALE_TRICKPLAY control appropriately then we can assume 
> trickplay functionality.
> I would then suggest removing the --rtsp-scaled-trickplay preference. 
> The server will proceed with fastforward or it'll just play at the 
> existing scale in the cases I've testing (live555MediaServer and 
> Kasenna) or it'll return an error on the Play request. I've tested this 
> with live555MediaServer by removing the movies index file and it simple 
> keeps playing at Scale 1.0 no matter what I ask.
> 
> How does that suit ?

Sound like a good plan.

Gtz
Jean-Paul Saman.



More information about the vlc-devel mailing list