[Live-devel] Capturing video from device
Ross Finlayson
finlayson at live555.com
Thu Sep 4 07:46:02 PDT 2008
>So the deliverFrame() should handle what is needed to get the
>encoded data from my encoder.
>and doGetNextFrame() should call deliverFrame().
>1. Does deliverFrame() should be blocking tillit acquire new frame data?
No, neither "doGetNextFrame()" nor "deliverFrame()" should block
(because that would prevent other events from being handled).
>2. who initiate the call:
>Does the ecoder notify the sinc there is new frame data, so the sinc
>can call doGetNextFrame()
>or
>The sink when fininsh handling one frame immediatly call
>doGetNextFrame() and blocked till it return with new frame
The latter.
--
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/20080904/233d3856/attachment.html>
More information about the live-devel
mailing list