[Live-devel] afterGettingFrame and afterGettingFrame1

Ross Finlayson finlayson at live555.com
Mon May 22 17:17:20 PDT 2006


>Can someone please explain how afterGettingFrame() and 
>afterGettingFrame1() should be used? Specifically, if there are 
>initialization steps that a custom filter must do when it receives 
>the very first frame from its source, where should they be implemented?
>
>In all the example implementations, afterGettingFrame() simply calls 
>its own implementation of afterGettingFrame1(). afterGettingFrame1() 
>never gets triggered directly (?).

That's because "afterGetttingFrame()" - the function that gets called 
first - is a static member function, and therefore cannot access 
member variables.  That's why it usually has to call another 
(non-static) member function (usually called "afterGettingFrame1()" 
on the object itself.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list