<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style>
<title>Re: [Live-devel] Reliable UDP -- does it make sense?</title>
</head>
<body><p><font size=2 color=navy face=Arial>
The doGetNextFrame does not block, it returns but does not get called again after that. Should afterGetting be called when no data is available? with a value of zero for the numbers of bytes in fTo?<br><br>. </font></p>
<p><hr size=2 width="100%" align=center tabindex=-1>
<font face=Tahoma size=2>
<b>From</b>: live-devel-bounces@ns.live555.com <live-devel-bounces@ns.live555.com>
<br><b>To</b>: LIVE555 Streaming Media - development & use <live-devel@ns.live555.com>
<br><b>Sent</b>: Tue Oct 27 00:24:56 2009<br><b>Subject</b>: Re: [Live-devel] Reliable UDP -- does it make sense?
<br></font></p>
<blockquote type="cite" cite=""><font face="Arial" size="-1" color="#0000FF">also the eventloop stops if doGetNextFrame gets no data</font></blockquote>
<div><br>
</div>
<div>This is wrong. Your "doGetNextFrame()" implementation should never block. If no data is immediately available, then it should just return (immediately, without blocking). The later arrival of data should (somehow) get handled as an event within the
event loop. (The event handler might just end up calling "doGetNextFrame()" again - and this time it'll succeed in getting data and delivering it to the downstream object.)</div>
<div><br>
</div>
<div>But in general, only you can debug your own new code.</div>
<x-sigsep>
<pre>--
</pre>
</x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
<br>
<hr>
<font face="Arial" color="Green" size="2">Please consider the environment before printing this e-mail.<br>
</font>
</body>
</html>