完善代码

This commit is contained in:
xiongziliang 2019-12-26 12:09:35 +08:00
parent 3830792c57
commit 9e8fe8c86a

View File

@ -67,6 +67,8 @@ private:
if(_pRtmpMediaSrc){ if(_pRtmpMediaSrc){
_pRtmpMediaSrc->setMetaData(val); _pRtmpMediaSrc->setMetaData(val);
} }
_delegate.reset(new RtmpDemuxer);
_delegate->loadMetaData(val);
return true; return true;
} }
void onMediaData(const RtmpPacket::Ptr &chunkData) override { void onMediaData(const RtmpPacket::Ptr &chunkData) override {