rPort 变更了HostAddres也要变

This commit is contained in:
ckb_test 2022-02-28 09:07:02 +00:00 committed by Gitee
parent bd4f730d79
commit 3787640dd1

View File

@ -68,6 +68,7 @@ public class KeepaliveNotifyMessageHandler extends SIPRequestProcessorParent imp
}
if (device.getPort() != rPort) {
device.setPort(rPort);
device.setHostAddress(received.concat(":").concat(String.valueOf(rPort)));
videoManagerStorager.updateDevice(device);
redisCatchStorage.updateDevice(device);
}