[email protected] writes: > Thinker K.F. Li於 2013年1月29日星期二UTC+8下午6時23分36秒寫道: >> Vincent, Benjamin, Chiajung, and I talked about how to implement RTSP >> >> protocol. There is a bug 831645 at bugzilla. I also created a wiki >> >> page summarizing our ideas. >> >> >> >> https://wiki.mozilla.org/Gecko:RTSPProtocol >> >> >> >> -- >> >> Sinker >> >> -- >> >> 清都山水郎,天教懶漫帶疏狂 > In [[File:RtspDesignArchitecture.png]], my concern is MediaDecoderRTSP. > Suppose media decoder should recieve data from media resource and has > no idea on channel protocol at all. > From the diagram, the only reason tha we need this subclass, > MediaDecoderRTSP, is media control function, such as seeking/ > rewind. We may move media control into another class, such as > MediaController, which provide time base or bit base seeking function > according to Channel type.
1. Channel don't tell you what kind of seeking had been supported. 2. MediaDecoder also parse container, if you want feed a RTSP stream to an existing MediaDecoder, you need a mux to put tracks of an RTSP stream into a container. 3. Since MediaDecoder is already providing control functions, we just need to another MediaDecoder. MediaController will be a duplication of MediaDecoder. -- Sinker -- 天教懶漫帶疏狂 _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

