From 6d454423a2357df64d2f6993dac056c3c994ef97 Mon Sep 17 00:00:00 2001 From: ckb_test <745836797@qq.com> Date: 星期一, 28 二月 2022 17:07:02 +0800 Subject: [PATCH] rPort 变更了HostAddres也要变 --- src/main/java/com/genersoft/iot/vmp/gb28181/event/offline/KeepaliveTimeoutListenerForPlatform.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/event/offline/KeepaliveTimeoutListenerForPlatform.java b/src/main/java/com/genersoft/iot/vmp/gb28181/event/offline/KeepaliveTimeoutListenerForPlatform.java index 9ba0c05..aaf5b5d 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/event/offline/KeepaliveTimeoutListenerForPlatform.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/event/offline/KeepaliveTimeoutListenerForPlatform.java @@ -76,7 +76,10 @@ eventResult.callId = callid; eventResult.msg = "娉ㄥ唽瓒呮椂"; eventResult.type = "register timeout"; - sipSubscribe.getErrorSubscribe(callid).response(eventResult); + if (sipSubscribe.getErrorSubscribe(callid) != null) { + sipSubscribe.getErrorSubscribe(callid).response(eventResult); + } + } } -- Gitblit v1.8.0