648540858
2024-05-29 764d04b497356ba6bcbb75fd42b51eca750f7223
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/SubscribeRequestProcessor.java
old mode 100644 new mode 100755
@@ -13,6 +13,7 @@
import com.genersoft.iot.vmp.gb28181.transmit.event.request.SIPRequestProcessorParent;
import com.genersoft.iot.vmp.gb28181.utils.SipUtils;
import com.genersoft.iot.vmp.gb28181.utils.XmlUtil;
import com.genersoft.iot.vmp.service.IPlatformService;
import com.genersoft.iot.vmp.storager.IVideoManagerStorage;
import gov.nist.javax.sip.message.SIPRequest;
import gov.nist.javax.sip.message.SIPResponse;
@@ -52,6 +53,10 @@
   @Autowired
   private SIPSender sipSender;
   @Autowired
   private IPlatformService platformService;
   @Override
   public void afterPropertiesSet() throws Exception {
@@ -194,5 +199,8 @@
      } catch (SipException | InvalidArgumentException | ParseException e) {
         logger.error("未处理的异常 ", e);
      }
      if (subscribeHolder.getCatalogSubscribe(platformId) == null && platform.isAutoPushChannel()) {
         platformService.addSimulatedSubscribeInfo(platform);
      }
   }
}