修复多网卡监听点播失败的BUG

pull/1653/head
648540858 2024-10-21 18:05:13 +08:00
parent 189e56c839
commit 1671716480
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public class KeepaliveNotifyMessageHandler extends SIPRequestProcessorParent imp
device.setPort(remoteAddressInfo.getPort());
device.setHostAddress(remoteAddressInfo.getIp().concat(":").concat(String.valueOf(remoteAddressInfo.getPort())));
device.setIp(remoteAddressInfo.getIp());
device.setLocalIp(request.getRemoteAddress().getHostAddress());
device.setLocalIp(request.getLocalAddress().getHostAddress());
// 设备地址变化会引起目录订阅任务失效,需要重新添加
if (device.getSubscribeCycleForCatalog() > 0) {
deviceService.removeCatalogSubscribe(device, result->{