国标28181-支持自动识别网卡监听,可以不再配置SIP.IP

This commit is contained in:
648540858
2024-06-13 18:10:01 +08:00
parent c1b0365b02
commit da2662ab27
20 changed files with 142 additions and 196 deletions

View File

@@ -89,7 +89,7 @@ public class PlatformController {
@GetMapping("/server_config")
public JSONObject serverConfig() {
JSONObject result = new JSONObject();
result.put("deviceIp", sipConfig.getIp());
result.put("deviceIp", sipConfig.getShowIp());
result.put("devicePort", sipConfig.getPort());
result.put("username", sipConfig.getId());
result.put("password", sipConfig.getPassword());