适配ZLToolKit(更新定时器)

This commit is contained in:
xiongziliang
2019-01-30 17:00:28 +08:00
parent cc7556b5a8
commit b5ea9fac08
12 changed files with 42 additions and 18 deletions

View File

@@ -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);
}