mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
去除继承
This commit is contained in:
parent
462eac9aea
commit
008df0ab85
@ -38,12 +38,12 @@ using namespace toolkit;
|
||||
|
||||
namespace mediakit {
|
||||
|
||||
class TsMuxer : public MediaSink{
|
||||
class TsMuxer {
|
||||
public:
|
||||
TsMuxer();
|
||||
virtual ~TsMuxer();
|
||||
void addTrack(const Track::Ptr &track) override;
|
||||
void inputFrame(const Frame::Ptr &frame) override ;
|
||||
void addTrack(const Track::Ptr &track) ;
|
||||
void inputFrame(const Frame::Ptr &frame) ;
|
||||
protected:
|
||||
virtual void onTs(const void *packet, int bytes,uint32_t timestamp,int flags) = 0;
|
||||
void resetTracks();
|
||||
|
Loading…
Reference in New Issue
Block a user