<!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] Capturing video from
device</title></head><body>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#0000FF">So the deliverFrame() should handle what is needed to
get the encoded data from my encoder.</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#0000FF">and doGetNextFrame() should call
deliverFrame().</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#0000FF">1. Does deliverFrame() should be blocking tillit
acquire new frame data? </font></blockquote>
<div><br></div>
<div>No, neither "doGetNextFrame()" nor
"deliverFrame()" should block (because that would prevent
other events from being handled).</div>
<div><br></div>
<div><br></div>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#0000FF">2. who initiate the call:</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#0000FF">Does the ecoder notify the sinc there is new frame
data, so the sinc can call doGetNextFrame()</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#0000FF">or</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#0000FF">The sink when fininsh handling one frame immediatly
call doGetNextFrame() and blocked till it return with new
frame</font></blockquote>
<div><br></div>
<div>The latter.</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>