解决hook.ip未设置时不能设默认值的问题

This commit is contained in:
lawrencehj 2021-07-28 09:41:29 +08:00
parent 7ccd466324
commit 45d46e4030

View File

@ -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);