[Live-devel] Reliable UDP -- does it make sense?

Ross Finlayson finlayson at live555.com
Mon Oct 26 21:24:56 PDT 2009


>also the eventloop stops if doGetNextFrame gets no data

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.)

But in general, only you can debug your own new code.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20091026/2078e114/attachment.html>


More information about the live-devel mailing list