优化播放器相关代码

This commit is contained in:
xiongziliang
2019-03-28 12:02:59 +08:00
parent 6045b1b8f8
commit fed8a7b81f
3 changed files with 37 additions and 37 deletions

View File

@@ -600,7 +600,7 @@ void RtspPlayer::onPlayResult_l(const SockException &ex) {
return true;
},getPoller()));
}
} else {
} else if(ex){
//播放成功后异常断开回调
onShutdown(ex);
}