diff --git a/src/main/java/com/genersoft/iot/vmp/conf/MediaConfig.java b/src/main/java/com/genersoft/iot/vmp/conf/MediaConfig.java index 744e56f0..b1736eda 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/MediaConfig.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/MediaConfig.java @@ -171,7 +171,7 @@ public class MediaConfig{ mediaServerItem.setId(id); mediaServerItem.setIp(ip); mediaServerItem.setDefaultServer(true); - mediaServerItem.setHookIp(hookIp); + mediaServerItem.setHookIp(getHookIp()); mediaServerItem.setSdpIp(sdpIp); mediaServerItem.setStreamIp(streamIp); mediaServerItem.setHttpPort(httpPort);