From 07fb2c16c75734d8c127585353249f529ea1262c Mon Sep 17 00:00:00 2001 From: pans <pansen626@sina.com> Date: 星期四, 14 三月 2019 17:39:25 +0800 Subject: [PATCH] Merge branch 'yw.1.2.fixbug' of ssh://192.168.1.226:29418/development/c++ into yw.1.2.fixbug --- 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