[Live-devel] afterGettingFrame and afterGettingFrame1
S Mathur
yetanotherid at gmail.com
Mon May 22 15:59:46 PDT 2006
Hello,
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 (?).
My setup is as follows: source -> AACtoPCMfilter -> PCMtoAACfilter -> ...
Specifically, I want PCMtoAACfilter to do some one-time actions when it
receives the first frame from its predecessor.
Thanks,
Mathur
PS: Using a static variable as a flag is one obvious way to do it, but there
may be cleaner ways...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20060522/10088a2b/attachment.html
More information about the live-devel
mailing list