I am doing a mpeg4 stream project on embedded Linux system, the MPEG4 data come from a circular buffer or ping-pong buffer in my embedded device, It seems I can start from testOnDemandRTSCServer.cpp, but my problem is how I can make the memory buffer as a file in Linux system

The easiest way to do this, IMHO, is to write an application that reads encoded data from your buffer, and writes it to 'stdout'. Then pipe this into the "testOnDemandRTSPServer" application, by running:
        your-reader-application | testOnDemandRTSPServer

For this to work, you will need to modify the "testOnDemandRTSPServer.cpp" code to
1/ set "reuseFirstSource" to True
2/ use the filename "stdin" instead of "test.m4e"
--

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