From b8c5eb8048b566d632b25391a79ccbd6ce33c010 Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期六, 30 三月 2019 16:10:01 +0800
Subject: [PATCH] 1.3 增加nsq消息,解决进程重启

---
 QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.h b/QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.h
index 162b8fe..cc6b4b9 100644
--- a/QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.h
+++ b/QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.h
@@ -17,7 +17,8 @@
 
     class VideoCaptureElementWithRtp : public basic::PipeElement {
     public:
-        explicit VideoCaptureElementWithRtp(std::string &chanPubID, int fps, int streamTransType, int gpuIdx = -1);
+        explicit VideoCaptureElementWithRtp(std::string &chanPubID, int fps, int streamTransType, int gpuIdx = -1,
+                                            RtspAnalysManager *manager = nullptr);
 
         virtual ~VideoCaptureElementWithRtp();
 
@@ -39,6 +40,7 @@
         std::string MakeDir(const std::string &timeStamp);
 
     private:
+        int reopenTime{1000};
         int m_gpuIdx;
         int m_fps;
         int m_streamTransType;

--
Gitblit v1.8.0