From 39a5c8e2cf18cab6469bc0204d2b3c4d7e9e2935 Mon Sep 17 00:00:00 2001
From: chenjialing <595168663@qq.com>
Date: 星期五, 17 六月 2022 16:01:18 +0800
Subject: [PATCH] fixed--解决ssrc默认开启失败的问题,解决信令超时设备下线的bug

---
 src/main/java/com/genersoft/iot/vmp/media/zlm/event/ZLMStatusEventListener.java |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/event/ZLMStatusEventListener.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/event/ZLMStatusEventListener.java
index b193add..223ef13 100644
--- a/src/main/java/com/genersoft/iot/vmp/media/zlm/event/ZLMStatusEventListener.java
+++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/event/ZLMStatusEventListener.java
@@ -39,18 +39,17 @@
 	@Async
 	@EventListener
 	public void onApplicationEvent(ZLMOnlineEvent event) {
-
-		logger.info("銆怹LM涓婄嚎銆慖D锛�" + event.getMediaServerId());
+		logger.info("[ZLM] 涓婄嚎 ID锛�" + event.getMediaServerId());
 		streamPushService.zlmServerOnline(event.getMediaServerId());
 		streamProxyService.zlmServerOnline(event.getMediaServerId());
-
+		playService.zlmServerOnline(event.getMediaServerId());
 	}
 
 	@Async
 	@EventListener
 	public void onApplicationEvent(ZLMOfflineEvent event) {
 
-		logger.info("ZLM绂荤嚎浜嬩欢瑙﹀彂锛孖D锛�" + event.getMediaServerId());
+		logger.info("[ZLM] 绂荤嚎锛孖D锛�" + event.getMediaServerId());
 		// 澶勭悊ZLM绂荤嚎
 		mediaServerService.zlmServerOffline(event.getMediaServerId());
 		streamProxyService.zlmServerOffline(event.getMediaServerId());

--
Gitblit v1.8.0