[Live-devel] doGetNextFrame doubt

Ross Finlayson finlayson at live.com
Wed Feb 2 09:08:49 PST 2005


>-Rtsp that is a different thread from the encoder thread.

I hope you've read <http://www.live.com/liveMedia/faq.html#threads>

>The point is: who is calling doGetNextFrame

This is called automatically by the 'downstream' (i.e., receiving) module, 
when it calls "FramedSource::getNextFrame()".  (I.e., it's used to 
implement "FramedSource::getNextFrame()" (see "FramedSource.cpp").)

>  or deliverFrame?

Your code (i.e., the code for your new class that encapsulates your 
encoder) will arrange for "deliverFrame()" to be called, *when* new data 
(from your encoder) becomes available.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list