修复可能存在的bug

This commit is contained in:
xiongziliang 2018-12-17 09:24:39 +08:00
parent f881860adb
commit e52c67b3af

View File

@ -1066,7 +1066,7 @@ inline void RtspSession::startListenPeerUdpData(int trackIdx) {
return false;
}
struct sockaddr addr=*pPeerAddr;
strongSelf->async_first([weakSelf,pBuf,addr,iTrackIdx]() {
strongSelf->async([weakSelf,pBuf,addr,iTrackIdx]() {
auto strongSelf=weakSelf.lock();
if(!strongSelf) {
return;