From b1d4123d29fa1b25abb554da38f062d8c4e93170 Mon Sep 17 00:00:00 2001
From: 随波 <davieyoung@163.com>
Date: 星期一, 28 二月 2022 23:34:20 +0800
Subject: [PATCH] update sql/mysql.sql. 修改拉流代理缺少“名称”字段问题

---
 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