From 97a17d0849a1b76ed99dee09d371bb6afa2c7bd1 Mon Sep 17 00:00:00 2001 From: lawrencehj <1934378145@qq.com> Date: 星期二, 22 六月 2021 11:54:54 +0800 Subject: [PATCH] 修正用户停止播放后API代理抛错误问题 --- src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerManger.java | 5 +++-- 1 files changed, 3 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..3770d80 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,9 @@ public void updateServerCatch(ZLMServerConfig zlmServerConfig) { - zlmServerConfig.setLocalIP(mediaConfig.getIp()); - zlmServerConfig.setWanIp(StringUtils.isEmpty(mediaConfig.getWanIp())? mediaConfig.getIp(): mediaConfig.getWanIp()); + zlmServerConfig.setIp(mediaConfig.getIp()); + zlmServerConfig.setStreamIp(mediaConfig.getStreamIp()); + zlmServerConfig.setSdpIp(mediaConfig.getSdpIp()); zlmServerConfig.setHttpPort(mediaConfig.getHttpPort()); if(!StringUtils.isEmpty(mediaConfig.getHttpSSlPort())) -- Gitblit v1.8.0