From 9eebd36d36b1c680f9673f3057c0639a99a7400b Mon Sep 17 00:00:00 2001 From: pansen <pansen626@sina.com> Date: 星期六, 09 三月 2019 18:43:21 +0800 Subject: [PATCH] ???? --- 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