无人观看自动关闭流时才打印日志

This commit is contained in:
ziyue
2021-08-12 10:54:57 +08:00
parent 094f7553c9
commit e3d519dde6
2 changed files with 5 additions and 5 deletions

View File

@@ -421,6 +421,11 @@ void installWebHook(){
return;
}
strongSrc->close(false);
WarnL << "无人观看主动关闭流:"
<< strongSrc->getSchema() << "/"
<< strongSrc->getVhost() << "/"
<< strongSrc->getApp() << "/"
<< strongSrc->getId();
});
});