mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 19:51:49 +08:00
适配ZLToolKit(更新定时器)
This commit is contained in:
@@ -153,7 +153,7 @@ void RtspPlayer::onConnect(const SockException &err){
|
||||
strongSelf->onPlayResult_l(SockException(Err_timeout,"play rtsp timeout"));
|
||||
strongSelf->teardown();
|
||||
return false;
|
||||
},getExecutor()));
|
||||
},getPoller()));
|
||||
}
|
||||
|
||||
void RtspPlayer::onRecv(const Buffer::Ptr& pBuf) {
|
||||
@@ -352,7 +352,7 @@ void RtspPlayer::handleResSETUP(const Parser &parser, unsigned int uiTrackIndex)
|
||||
return false;
|
||||
}
|
||||
return strongSelf->sendOptions();
|
||||
},getExecutor()));
|
||||
},getPoller()));
|
||||
pause(false);
|
||||
}
|
||||
|
||||
@@ -603,7 +603,7 @@ void RtspPlayer::onPlayResult_l(const SockException &ex) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
},getExecutor()));
|
||||
},getPoller()));
|
||||
}
|
||||
onPlayResult(ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user