[Live-devel] I want to add pause and replay function in openRTSP, and I have some questions.
Ross Finlayson
finlayson at live555.com
Mon Dec 7 01:17:29 PST 2009
>I want to add pause and replay function in openRTSP. I think I can user
>
>RTSPClient::pauseMediaSession(MediaSession& session)
>&
>Boolean RTSPClient::playMediaSession(MediaSession& session, double
>start, double end, float scale)
>
>to realize this function. But I have to get the time when it pause
>,so that I can use it as the parameter "double start" in
>playMediaSession.
Just use "-1.0" as the "start" parameter. This will tell the code
not to include a "Range:" header in the "PLAY" request, so the server
will resume the stream from the pause point.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list