mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-31 08:39:34 +08:00
无人观看延时关闭
This commit is contained in:
parent
5b88057a89
commit
eabb673005
@ -127,9 +127,9 @@ public:
|
||||
|
||||
private:
|
||||
void onReaderChanged(int size){
|
||||
_readerTicker.resetTime();
|
||||
if(size != 0 || readerCount() != 0){
|
||||
//还有消费者正在观看该流,我们记录最后一次活动时间
|
||||
_readerTicker.resetTime();
|
||||
_asyncEmitNoneReader = false;
|
||||
return;
|
||||
}
|
||||
|
@ -143,9 +143,9 @@ public:
|
||||
}
|
||||
private:
|
||||
void onReaderChanged(int size){
|
||||
_readerTicker.resetTime();
|
||||
if(size != 0 || readerCount() != 0){
|
||||
//还有消费者正在观看该流,我们记录最后一次活动时间
|
||||
_readerTicker.resetTime();
|
||||
_asyncEmitNoneReader = false;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user