<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">There is not any large delay (~5 to 10ms) from the call to downstream call to doGetNextFrame() and the upstream call to &nbsp;FrameSource::afterGetting(this) in DeviceSource.cpp.<div><br></div><div>from&nbsp;downstream call to doGetNextFrame()</div><div><div><div>fPresentationTime.tv_sec=1230780299</div><div>fPresentationTime.tv_usec=377538</div><div><br></div></div><div>from&nbsp;upstream call to &nbsp;FrameSource::afterGetting(this)&nbsp;</div><div><div><div>PresentationTime.tv_sec=1230780299</div><div>fPresentationTime.tv_usec=381672</div><div><br></div><div>next downstream call to&nbsp;doGetNextFrame()</div><div><div>fPresentationTime.tv_sec=1230780301</div><div>fPresentationTime.tv_usec=46294</div><div><br></div><div>sometimes to less then a 1 and sometimes its more as high as 3 sec.</div><div><br></div></div></div></div></div><div>The delay is waiting for&nbsp;<span class="Apple-style-span" style="color: rgb(0, 116, 0); font-family: Monaco; font-size: 10px; "><span style="color: #000000">&nbsp; </span><span style="color: #aa0d91">if</span><span style="color: #000000"> (!</span><span style="color: #26474b">isCurrentlyAwaitingData</span><span style="color: #000000">()) </span><span style="color: #aa0d91">return</span><span style="color: #000000">; </span>// we're not ready for the data yet</span></div><div>&nbsp;to NOT return.</div><div><br></div><div>Also, I'm setting the&nbsp;presentation&nbsp;time, no change.</div><div><br></div><div>Could it have something to do with the passing of the data to the&nbsp;encapsulation&nbsp;for the ip packets? &nbsp;There is not much&nbsp;multicast&nbsp;traffic being sent.</div><div><br></div><div>Thanks again.</div><div><br></div><div><br><div><div>On Dec 31, 2008, at 9:59 PM, Ross Finlayson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><blockquote type="cite">dura is set for each call, 33366 for 30 frames per sec or 66666 for 15 frames per sec, still the data is called for ~ every 1.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">modulo_time_base=0x00<br></blockquote><blockquote type="cite">fNumVTIRBits=0x00<br></blockquote><blockquote type="cite">vop_time_increment=0x00<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The above are always zero, could this be the problem?<br></blockquote><br>No, I don't think so.<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">Also I'm not setting the presentation time, what format should it be in or is it not needed?<br></blockquote><br>Yes, you need to set "fPresentationTime"; the best way to do this is to set it to the result of calling "gettimeofday()" each time. However, that's probably not the cause of your problem.<br><br>Sorry, but I don't know what's causing the delay that you're seeing. Are you *sure* that there is a ~1 second delay between each call to "FramedSource::afterGetting()" and the *next* call to "doGetNextFrame()"?<br>-- <br><br>Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a><br>_______________________________________________<br>live-devel mailing list<br>live-devel@lists.live555.com<br>http://lists.live555.com/mailman/listinfo/live-devel<br></div></blockquote></div><br></div></body></html>