> This *should* work, with one modification: You will need to add a 'start
> code' (i.e., 0x00 0x00 0x00 0x01) before each NAL unit that comes out of the
> "H264VideoRTPSource". You will need to do this - using a separate filter
> class (that you would write) - before you feed the output into a
> "MPEG2TransportStreamFromESSource".
>
> when I try to follow your suggestion, I found it's too hard for me to write
> such a filter class. I tried to implement a new subclass of "FramedFilter",
> but don't know what virtual functions should I overridden
You need to implement the (pure) virtual function:
virtual void doGetNextFrame();
The code has several examples of "FramedFilter" subclass that you could refer
to. (I suggest "uLawAudioFilter.cpp".)
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel