I use the testOnDemandRTSPServer to stream live video (captured using an analog camera and encoded to MPEG 4 ES using a co-processor). I use ByteFileStreamSource.cpp in (ASYNCHRONOUS mode) as a base model for my device. I have modified doReadFromFile in such a way that it reurns an MPEG 4 frame from the "codec engine"(capture device + mpeg 4 encoder).
Because your input device returns discrete MPEG-4 video frames, rather than a byte stream, it'd be better if you used "MPEG4VideoStreamDiscreteFramer", rather than "MPEG4VideoStreamFramer".
However, your first test should have been using the *unmodified* source code - to stream from a MPEG-4 Video Elementary Stream *file*. I.e., you should have first created a file "test.m4e" - from the output of your encoder - and then tried streaming this, using the *unmodified* "testOnDemandRTSPServer" (or "testMPEG4VideoStreamer") application. (In general, once you've modified the supplied code, you can't expect to get much support on this mailing list.)
I suspect that perhaps the output from your encoder is not in the proper form - i.e., not a true MPEG-4 Video Elementary Stream. If you this may be true, then please put your "test.m4e" file on a web server, and send us the URL, so we can download and test this for ourselves.
-- 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