From a209ba77ead73c273c75d0638a3bae2ea8626765 Mon Sep 17 00:00:00 2001 From: 64850858 <648540858@qq.com> Date: 星期五, 04 六月 2021 17:30:23 +0800 Subject: [PATCH] 修复bug --- 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