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) method and call your own "addData" like method where you can 
do whatever it is you need to.

Then similar to in openRtsp's PlayCommon.cpp file, create your an instance of 
your own sink before starting the event loop. 



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.

_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to