[Live-devel] Blocking vs Non-Blocking doGetNextFrame()???

Silvain Beriault silvain.beriault at larus.com
Mon Jun 30 11:01:01 PDT 2008


Hello,

According to the DeviceSource.cpp template, the doGetNextFrame() should 
deliver a frame "in a non-blocking fashion i.e., so that we return 
immediately from this function even if no data is currently available."

However, if no data is available, the afterGetting() function is not 
invoked within doGetNextFrame (since no new data is delivered) and this 
causes the doGetNextFrame() function never to be called again by the 
internal live555 API.  Any suggestions on how this problem should be 
handled?

Thank you!
Silvain



More information about the live-devel mailing list