mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-07 12:18:12 +08:00
播放器支持超时时间的配置项
优化函数命名
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
||||
virtual void onWrite(const RtpPacket::Ptr &rtp, bool bKeyPos) override {
|
||||
if (_rtspDemuxer) {
|
||||
bKeyPos = _rtspDemuxer->inputRtp(rtp);
|
||||
if (!_rtmpMuxer && _rtspDemuxer->isInited()) {
|
||||
if (!_rtmpMuxer && _rtspDemuxer->isInited(2000)) {
|
||||
_rtmpMuxer = std::make_shared<RtmpMediaSourceMuxer>(getVhost(),
|
||||
getApp(),
|
||||
getId(),
|
||||
|
||||
Reference in New Issue
Block a user