From 5bf0020b189b2bc8c64737c2af4ea77c3e8f5612 Mon Sep 17 00:00:00 2001 From: xuxiuxi <554325746@qq.com> Date: 星期五, 08 三月 2019 22:24:27 +0800 Subject: [PATCH] Merge branch 'yw.1.2.fixbug' of http://192.168.1.226:10010/r/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