[vlc-devel] Accessing the demux Control at the interface level ? (re: RTSP trickplay)

Jean-Paul Saman jean-paul.saman at planet.nl
Thu Dec 6 20:11:32 CET 2007

Ross Finlayson wrote:
>> Laurent Aimar wrote:
>>>   I will have a look at your patches this WE (or this week if I can find the
>>>  time)
>> The patch looks OK to me except for the option to turn scale on. That
>> renders the whole usage of scale unusable for a simple user. There most
>> by some way of either:
>> 1) letting live555 libs handle it
> The "live555 libs" (or, more precisely, the RTSP protocol) already 
> handles this.  Regardless of what scale you specify in the RTSP 
> "PLAY" request, the server will - in its RTSP "PLAY" response - tell 
> the client the *actual* scale that it supports.  (For example, if you 
> ask for a scale of 3.2, then the server might respond with a scale of 
> 3, or a scale of 1 (if it doesn't support fast-forward at all).)  As 
> I've noted already, after calling "playMediaSession()" (or 
> "playMediaSubsession()"), simply call "session.scale()" (or 
> "subsession.scale()") to get the actual scale factor that the server 
> chose to support.
> So, is there any reason not to *always* allow the user to (try to) 
> change the scale?

I think this is the *perfect* reason to do away with the proposed 
options on the comandline for scale. Just assume the server will support 
it and check the real value.

Ross, Thanks for your clarification.

Jean-Paul Saman.

More information about the vlc-devel mailing list