From eb6b6529cd5a59cd684b7ad1a3d569487fa4daa0 Mon Sep 17 00:00:00 2001
From: 64850858 <648540858@qq.com>
Date: 星期一, 07 六月 2021 15:51:58 +0800
Subject: [PATCH] 修复DeviceChannelMapper的存储错误

---
 src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerManger.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerManger.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerManger.java
index e73ee34..4018993 100644
--- a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerManger.java
+++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerManger.java
@@ -18,8 +18,8 @@
 
     public void updateServerCatch(ZLMServerConfig zlmServerConfig) {
 
-        zlmServerConfig.setLocalIP(mediaConfig.getIp());
-        zlmServerConfig.setWanIp(StringUtils.isEmpty(mediaConfig.getWanIp())? mediaConfig.getIp(): mediaConfig.getWanIp());
+        zlmServerConfig.setIp(mediaConfig.getIp());
+        zlmServerConfig.setSdpIp(mediaConfig.getSdpIp());
         zlmServerConfig.setHttpPort(mediaConfig.getHttpPort());
 
         if(!StringUtils.isEmpty(mediaConfig.getHttpSSlPort()))

--
Gitblit v1.8.0