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/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel