[Live-devel] I want to add pause and replay function in openRTSP, and I have some questions.

Lee Victor dinho.victor at gmail.com
Mon Dec 7 01:33:10 PST 2009


If I do need to get the time, how can I?

2009/12/7 Ross Finlayson <finlayson at live555.com>

>  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 at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20091207/ea275484/attachment.html>


More information about the live-devel mailing list