mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-01 23:57:37 +08:00
完善c接口事件定义
This commit is contained in:
@@ -27,8 +27,6 @@
|
||||
#ifndef MP4MAKER_H_
|
||||
#define MP4MAKER_H_
|
||||
|
||||
#ifdef ENABLE_MP4RECORD
|
||||
|
||||
#include <mutex>
|
||||
#include <memory>
|
||||
#include "Player/PlayerBase.h"
|
||||
@@ -56,6 +54,7 @@ public:
|
||||
string strVhost;//vhost
|
||||
};
|
||||
|
||||
#ifdef ENABLE_MP4RECORD
|
||||
class MP4Recorder : public MediaSinkInterface{
|
||||
public:
|
||||
typedef std::shared_ptr<MP4Recorder> Ptr;
|
||||
@@ -95,8 +94,8 @@ private:
|
||||
list<Track::Ptr> _tracks;
|
||||
};
|
||||
|
||||
} /* namespace mediakit */
|
||||
|
||||
#endif ///ENABLE_MP4RECORD
|
||||
|
||||
} /* namespace mediakit */
|
||||
|
||||
#endif /* MP4MAKER_H_ */
|
||||
|
||||
Reference in New Issue
Block a user