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