写一个 Push Mode 的 Source Filter
The problem of mine is to write a source filter what works in push mode.
The source filter read the UDP packets(contain some MPEG-II TS data) from
localhost's port and "push" those to downstream filter(typically a De-Mux
I think there will contain the following classes:
1. CNetReader, read UDP packets from localhost port;
2. CMySource, derive from CSource;
3. CMyStream, derive from CSourceStream.
And how do I implement those classes? If I should manage a buffer array?
If I should manage the time reference? And how do I set the MediaType?
In addition, I use this source filter just for MPEG-II TS play.
Thanks a lot in advance.