mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-31 02:30:52 +08:00
修复无人播放事件触发延时不准确的bug
This commit is contained in:
@@ -142,13 +142,6 @@ bool RtpProcessHelper::close(MediaSource &sender, bool force) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void RtpProcessHelper::onNoneReader(MediaSource &sender) {
|
||||
if(!_process || _process->totalReaderCount()){
|
||||
return;
|
||||
}
|
||||
MediaSourceEvent::onNoneReader(sender);
|
||||
}
|
||||
|
||||
int RtpProcessHelper::totalReaderCount(MediaSource &sender) {
|
||||
return _process ? _process->totalReaderCount() : sender.totalReaderCount();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user