mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
优化rtsp播放器的打开速度
This commit is contained in:
parent
a646640580
commit
c3ce2a463b
@ -74,9 +74,12 @@ private:
|
|||||||
_pRtspMediaSrc->onWrite(rtppt,true);
|
_pRtspMediaSrc->onWrite(rtppt,true);
|
||||||
}
|
}
|
||||||
_parser->inputRtp(rtppt);
|
_parser->inputRtp(rtppt);
|
||||||
checkInited();
|
checkIndited();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool isInited(int analysisMs = 2000) override{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
private:
|
private:
|
||||||
RtspMediaSource::Ptr _pRtspMediaSrc;
|
RtspMediaSource::Ptr _pRtspMediaSrc;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user