<!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] Detecting network
failure</title></head><body>
<blockquote type="cite" cite>I've set breakpoints in every callback I
could find, after my doEventLoop() call, etc.&nbsp; When I kill my
internet connection mid-stream, I hit none of these breakpoints.
</blockquote>
<div><br></div>
<div>OK, it sounds like you're blocking in your RTSP client
&quot;ANNOUNCE&quot; operation.&nbsp; This will not be a problem in
the upcoming &quot;RTSPClient&quot; restructuring (that will make all
RTSP client operations asynchronous).</div>
<div><br></div>
<blockquote type="cite" cite><br>
I am using the DarwinInjector, if that changes anything.<br>
&nbsp;<br>
<blockquote>E.g., you can periodically (i.e., using
&quot;TaskScheduler::scheduleDelayedTask()&quot;) check that new data
keeps arriving (into whatever object you're feeding from your
&quot;RTPSource&quot; subclass). &nbsp;There's certainly no need to
change any of the supplied &quot;LIVE555 Streaming Media&quot; code
for this.<a
href="http://lists.live555.com/mailman/listinfo/live-devel"><br>
</a></blockquote>
</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>This is code that is pushing AV to a
server online--unless I'm checking for RTCP stuff, data shouldn't be
&quot;arriving,&quot; should it?</blockquote>
<div><br></div>
<div>OK, so you would need to check for RTCP packets - assuming that
Darwin sends them; I don't know whether it does.&nbsp; If so, you
could do this using &quot;RTCPInstance::setRRHandler()&quot; (assuming
that Darwin sends RTCP &quot;RR&quot; packets in response to
&quot;ANNOUNCE&quot; data).</div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>