|
@ -396,7 +396,7 @@ public class ZLMHttpHookListener { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if (gbStreams.size() > 0) { |
|
|
if (gbStreams.size() > 0) { |
|
|
eventPublisher.catalogEventPublishForStream(null, gbStreams, CatalogEvent.ON); |
|
|
// eventPublisher.catalogEventPublishForStream(null, gbStreams, CatalogEvent.ON);
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}else { |
|
|
}else { |
|
@ -408,7 +408,7 @@ public class ZLMHttpHookListener { |
|
|
} |
|
|
} |
|
|
GbStream gbStream = storager.getGbStream(app, streamId); |
|
|
GbStream gbStream = storager.getGbStream(app, streamId); |
|
|
if (gbStream != null) { |
|
|
if (gbStream != null) { |
|
|
eventPublisher.catalogEventPublishForStream(null, gbStream, CatalogEvent.OFF); |
|
|
// eventPublisher.catalogEventPublishForStream(null, gbStream, CatalogEvent.OFF);
|
|
|
} |
|
|
} |
|
|
zlmMediaListManager.removeMedia(app, streamId); |
|
|
zlmMediaListManager.removeMedia(app, streamId); |
|
|
} |
|
|
} |
|
|