Commit 94af90fa142092998b64a615b35335580614a01d
Committed by
Gitee
!7 rPort 变更了HostAddres也要变
Merge pull request !7 from ckb_test/N/A
Showing
1 changed file
with
1 additions
and
0 deletions
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 | } | ... | ... |