整体替换HLS生成代码,支持265

This commit is contained in:
xiongziliang
2019-04-01 12:57:33 +08:00
parent d1f722939d
commit 33eb7ef320
18 changed files with 664 additions and 1182 deletions

View File

@@ -34,7 +34,7 @@
#include "Mp4Maker.h"
#endif //ENABLE_MP4V2
#include "HLSMaker.h"
#include "HlsRecorder.h"
using namespace toolkit;
namespace mediakit {
@@ -62,7 +62,7 @@ public:
*/
void addTrack(const Track::Ptr & track) override;
private:
std::shared_ptr<HLSMaker> _hlsMaker;
std::shared_ptr<HlsRecorder> _hlsMaker;
#ifdef ENABLE_MP4V2
std::shared_ptr<Mp4Maker> _mp4Maker;
#endif //ENABLE_MP4V2