Commit 6d454423a2357df64d2f6993dac056c3c994ef97

Authored by ckb_test
Committed by Gitee
1 parent 7400ace6

rPort 变更了HostAddres也要变

src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/message/notify/cmd/KeepaliveNotifyMessageHandler.java
... ... @@ -68,6 +68,7 @@ public class KeepaliveNotifyMessageHandler extends SIPRequestProcessorParent imp
68 68 }
69 69 if (device.getPort() != rPort) {
70 70 device.setPort(rPort);
  71 + device.setHostAddress(received.concat(":").concat(String.valueOf(rPort)));
71 72 videoManagerStorager.updateDevice(device);
72 73 redisCatchStorage.updateDevice(device);
73 74 }
... ...