支持海康摄像头国标录像查看播放

This commit is contained in:
648540858
2022-05-13 15:32:30 +08:00
parent ec749de7c1
commit 1757203202
18 changed files with 275 additions and 214 deletions

View File

@@ -89,7 +89,7 @@ public class ZLMRunner implements CommandLineRunner {
});
// 获取zlm信息
logger.info("[zlm接入]等待默认zlm中...");
logger.info("[zlm] 等待默认zlm中...");
// 获取所有的zlm 并开启主动连接
List<MediaServerItem> all = mediaServerService.getAllFromDatabase();

View File

@@ -39,8 +39,7 @@ public class ZLMStatusEventListener {
@Async
@EventListener
public void onApplicationEvent(ZLMOnlineEvent event) {
logger.info("【ZLM上线】ID" + event.getMediaServerId());
logger.info("[ZLM] 上线 ID" + event.getMediaServerId());
streamPushService.zlmServerOnline(event.getMediaServerId());
streamProxyService.zlmServerOnline(event.getMediaServerId());
@@ -50,7 +49,7 @@ public class ZLMStatusEventListener {
@EventListener
public void onApplicationEvent(ZLMOfflineEvent event) {
logger.info("ZLM离线事件触发ID" + event.getMediaServerId());
logger.info("[ZLM] 离线ID" + event.getMediaServerId());
// 处理ZLM离线
mediaServerService.zlmServerOffline(event.getMediaServerId());
streamProxyService.zlmServerOffline(event.getMediaServerId());