mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 19:58:10 +08:00
MP4、hls适配新代码
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
||||
void onGetMetaData(const AMFValue &_metadata) override {
|
||||
try {
|
||||
_pParser.reset(new RtmpDemuxer(_metadata));
|
||||
_pRecorder.reset(new MediaRecorder(getVhost(),getApp(),getId(),_pParser,_bEnableHls,_bEnableMp4));
|
||||
_pRecorder.reset(new MediaRecorder(getVhost(),getApp(),getId(),_bEnableHls,_bEnableMp4));
|
||||
//todo(xzl) 修复此处
|
||||
|
||||
// _pParser->setOnAudioCB(std::bind(&RtmpToRtspMediaSource::onGetAAC, this, placeholders::_1));
|
||||
|
||||
Reference in New Issue
Block a user