diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/event/record/RecordEndEventListener.java b/src/main/java/com/genersoft/iot/vmp/gb28181/event/record/RecordEndEventListener.java index cb468230..167b9f20 100755 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/event/record/RecordEndEventListener.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/event/record/RecordEndEventListener.java @@ -35,7 +35,7 @@ public class RecordEndEventListener implements ApplicationListener 0) { + if (!handlerMap.isEmpty()) { RecordEndEventHandler handler = handlerMap.get(deviceId + channelId); if (handler !=null){ handler.handler(event.getRecordInfo()); @@ -43,6 +43,9 @@ public class RecordEndEventListener implements ApplicationListener