修复使用推流状态作为推流通道状态为false仍然发送通知
This commit is contained in:
@@ -387,7 +387,9 @@ public class ZLMHttpHookListener {
|
||||
}
|
||||
GbStream gbStream = storager.getGbStream(param.getApp(), param.getStream());
|
||||
if (gbStream != null) {
|
||||
eventPublisher.catalogEventPublishForStream(null, gbStream, param.isRegist()?CatalogEvent.ON:CatalogEvent.OFF);
|
||||
if (userSetting.isUsePushingAsStatus()) {
|
||||
eventPublisher.catalogEventPublishForStream(null, gbStream, param.isRegist()?CatalogEvent.ON:CatalogEvent.OFF);
|
||||
}
|
||||
}
|
||||
if (type != null) {
|
||||
// 发送流变化redis消息
|
||||
|
||||
Reference in New Issue
Block a user