If I do need to get the time, how can I?<br><br>
<div class="gmail_quote">2009/12/7 Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I want to add pause and replay function in openRTSP. I think I can user<br><br>RTSPClient::pauseMediaSession(MediaSession& session)<br>
&<br>Boolean RTSPClient::playMediaSession(MediaSession& session, double start, double end, float scale)<br><br>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.<br>
</blockquote><br></div>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.<br>
-- <br><font color="#888888"><br>Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a><br>_______________________________________________<br>live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br><a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</font></blockquote></div><br>