From e15c4888f720b8781260b901ac82d058f8f7c3b5 Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期三, 27 三月 2019 14:34:37 +0800 Subject: [PATCH] 移植nsq到项目中,将最短最长时长的参数修改成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