<!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. 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
"ANNOUNCE" operation. This will not be a problem in
the upcoming "RTSPClient" 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>
<br>
<blockquote>E.g., you can periodically (i.e., using
"TaskScheduler::scheduleDelayedTask()") check that new data
keeps arriving (into whatever object you're feeding from your
"RTPSource" subclass). There's certainly no need to
change any of the supplied "LIVE555 Streaming Media" 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
"arriving," 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. If so, you
could do this using "RTCPInstance::setRRHandler()" (assuming
that Darwin sends RTCP "RR" packets in response to
"ANNOUNCE" data).</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>