[Live-devel] Newbie: How to create a memory sink
Ross Finlayson
finlayson at live555.com
Wed Feb 25 21:43:37 PST 2009
>As a starting point have a look at the FileSink class, the two main
>steps involved are
>1) Inherit from MediaSink
>2) Override the virtual afterGettingFrame1(unsigned frameSize,
>struct timeval presentationTime)
Actually, the virtual function to redefine is
virtual Boolean continuePlaying();
See the "FileSink" implementation for a good example of how to do this.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list