<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] Problem in sending PAUSE and then
PLAY re</title></head><body>
<blockquote type="cite" cite><font face="Arial" size="-1">We are using
openRTSP Client to receive mpeg2 streams. When we call PAUSE and then
PLAY request during streaming then</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"> we
observed function</font><font face="Arial"><i>
getResponse1(</i>)<font size="-1"> is getting called from two places
simultaneously</font></font></blockquote>
<div><br></div>
<div>No. Remember that the code is single-threaded. It is not
possible for "getResponse1()" - or any other function - to
be called from two places 'simultaneously'.</div>
<div><br></div>
<div>What I suspect is happening is that you have requested
RTP-over-TCP - i.e., using the "-t" command-line option to
"openRTSP". There is currently a known bug in the code
that - iff you have requested RTP-over-TCP - any response to a RTSP
command - after the initial "PLAY" command(s) - is not read
by the RTSP client code. Therefore, iff you have requested
RTP-over-TCP, then you currently can't do a RTSP "PAUSE"
(because you won't then be able to send a subsequent "PLAY"
to restart the stream).</div>
<div><br></div>
<div>(With regular, RTP-over-UDP, streaming, there are no known
problems with sending "PAUSE" (or other) commands during
streaming.)</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>