[Live-devel] Newbie: How to create a memory sink

Andy Bell andy at j2kvideo.com
Thu Feb 26 00:39:20 PST 2009


On Thu, Feb 26, 2009 at 6:43 AM, Ross Finlayson <finlayson at live555.com>wrote:

> 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.
>

Thanks for that.  Are there any things to look out for when running the
event loop in a seperate thread?
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090226/cd95a351/attachment.html>


More information about the live-devel mailing list