[Live-devel] Re: [vlc-devel] RTSP trickplay support
Matthew Romaine
Matthew.Romaine at jp.sony.com
Wed Dec 15 13:37:57 PST 2004
Hi Ross,
Changing the scale by calling ::playMedia[Sub]Session() seems to work
but subsequent calls to confirm the change via
Media[Sub]Session::scale() continue to return 1.0; I poked around and
can't find where it's being updated. I'm doing it through the VLC
livedotcom.cpp wrapper, and I've confirmed the "OK" response, and from
what I can tell the packets are being sent as expected. Where is
fScale being reset by the respective *AudioFileServerMedia[Sub]Session?
Thanks,
Matt
On 2004/12/07, at 19:29, Ross Finlayson wrote:
> To expand upon Matthew Romaine's earlier message:
>
> The latest version[*] (2004.12.07) of the "LIVE.COM Streaming Media"
> code (used by VLC to implement a RTSP/RTP client) includes full RTSP
> client support for 'trickplay'. It does this using the following
> member functions:
> - "RTSPClient::playMediaSession()" and
> "RTSPClient::playMediaSubsession()" - which implements the RTSP "PLAY"
> command - includes parameters "start" and "end" for specifying which
> parts of the stream to play, and a parameter "scale" for specifying
> the speed (forward or reverse) at which you'd like the stream to be
> played.
> - If you specify a "scale" parameter other than 1.0 (the default) in
> "RTSPClient::playMediaSession()" or
> "RTSPClient::playMediaSubsession()", you should afterwards call
> "MediaSession::scale()" or "MediaSubsession::scale()" (respectively),
> to find out the actual scale factor that the server has chosen to
> implement for this stream. You can then use this in the GUI.
>
> [*] There is now a constant URL that points to the latest version of
> the "LIVE.COM Streaming Media" code:
> <http://www.live.com/liveMedia/public/live-latest.tar.gz>
>
> Ross Finlayson
> LIVE.COM
> <http://www.live.com/>
>
More information about the live-devel
mailing list