> I'm currently doing a live camera streaming project that needs a history 
> function. I've done some search and come to the solution of creating a custom 
> sink that is the combination of MPEG4ESVideoRTPSink and FileSink, which will 
> stream to both a local file and the network.

A simpler solution would be to write a new 'filter' class (i.e., a subclass of 
"FramedFilter") that simply delivers its input to its output, but also writes 
to a file.  Then, add an object of this class to the end of your data stream 
(i.e., before you feed it into a sink).  That way, you won't need to create (or 
modify) any "MediaSink" class at all.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to