mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 19:51:49 +08:00
完善错误提示
This commit is contained in:
@@ -145,7 +145,7 @@ void PlayerProxy::rePlay(const string &strUrl,int iFailedCnt){
|
||||
return false;
|
||||
}, getPoller());
|
||||
}
|
||||
bool PlayerProxy::close(bool force) {
|
||||
bool PlayerProxy::close(MediaSource &sender,bool force) {
|
||||
if(!force && _mediaMuxer->readerCount() != 0){
|
||||
return false;
|
||||
}
|
||||
@@ -162,6 +162,7 @@ bool PlayerProxy::close(bool force) {
|
||||
}
|
||||
}
|
||||
});
|
||||
WarnL << sender.getSchema() << "/" << sender.getVhost() << "/" << sender.getApp() << "/" << sender.getId() << " " << force;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user