From 9a0afe1ccce6fd3a6882b4c19b72cee579a54dd1 Mon Sep 17 00:00:00 2001 From: xuxiuxi <554325746@qq.com> Date: 星期五, 08 三月 2019 12:57:51 +0800 Subject: [PATCH] find channel list bug --- QiaoJiaSystem/VideoAnalysFromHC/RtspAnalysElement.h | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/QiaoJiaSystem/VideoAnalysFromHC/RtspAnalysElement.h b/QiaoJiaSystem/VideoAnalysFromHC/RtspAnalysElement.h index 890e317..da7757a 100644 --- a/QiaoJiaSystem/VideoAnalysFromHC/RtspAnalysElement.h +++ b/QiaoJiaSystem/VideoAnalysFromHC/RtspAnalysElement.h @@ -21,7 +21,7 @@ virtual ~RtspAnalysElement(); - int addCamera(const std::string &, const std::string &); + int addCamera(const std::string &, const std::map<int, SdkRule> &sdkRuleMap); int removeCamera(const std::string &); @@ -40,16 +40,17 @@ static std::vector<int> chnString2Vec(std::string str_list); - void setDataByType(int type,Json::Value& json,int camId); +// void setDataByType(Json::Value& json,const SdkRule& rule); private: LDBTool *m_lDBTool; - + int m_GB28181_Enable; std::map<std::string, AppPipeController *> controllers; std::atomic<int> currentCount; int maxCount; FastFdsWithLock fdfsClient; + std::map<int, SdkRule> sdkRuleMap; }; -- Gitblit v1.8.0