mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-21 01:13:37 +08:00
修复某些rtmp流无metedata时导致崩溃的问题
This commit is contained in:
parent
63b8477f0d
commit
a6d27306d0
@ -70,6 +70,9 @@ private:
|
||||
if(_pRtmpMediaSrc){
|
||||
_pRtmpMediaSrc->onWrite(chunkData);
|
||||
}
|
||||
if(!_parser){
|
||||
_parser.reset(new RtmpDemuxer());
|
||||
}
|
||||
_parser->inputRtmp(chunkData);
|
||||
checkInited();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user