mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 11:41:44 +08:00
完善rtsp服务器错误提示
This commit is contained in:
@@ -146,7 +146,7 @@ void PlayerProxy::rePlay(const string &strUrl,int iFailedCnt){
|
||||
}, getPoller());
|
||||
}
|
||||
bool PlayerProxy::close(MediaSource &sender,bool force) {
|
||||
if(!force && _mediaMuxer->readerCount() != 0){
|
||||
if(!_mediaMuxer || (!force && _mediaMuxer->readerCount() != 0)){
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user