lawrencehj
2021-03-09 df34954c9eee1e870248368dd77a441509ac1dc2
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/request/impl/MessageRequestProcessor.java
@@ -370,9 +370,13 @@
   private void processMessageDeviceInfo(RequestEvent evt) {
      try {
         Element rootElement = getRootElement(evt);
         String requestName = rootElement.getName();
         Element deviceIdElement = rootElement.element("DeviceID");
         String deviceId = deviceIdElement.getTextTrim().toString();
         if (requestName.equals("Query")) {
            // 回复200 OK
            responseAck(evt);
         } else {
         Device device = storager.queryVideoDevice(deviceId);
         if (device == null) {
            return;
@@ -396,6 +400,7 @@
         if (offLineDetector.isOnline(deviceId)) {
            publisher.onlineEventPublish(deviceId, VideoManagerConstants.EVENT_ONLINE_KEEPLIVE);
         }
         }
      } catch (DocumentException | SipException | InvalidArgumentException | ParseException e) {
         e.printStackTrace();
      }