| | |
| | | #include <VideoServer/QiaoJia/DB/LDBTool.h> |
| | | #include <basic/util/app/AppPreference.hpp> |
| | | |
| | | #include "NsqMsgTool.hpp" |
| | | |
| | | class RtspAnalysElement { |
| | | |
| | |
| | | private: |
| | | void init(); |
| | | |
| | | static void OnMsgFunc(void *msgPtr, void *pThisPtr); |
| | | |
| | | std::string resetFdfs(std::string ip = "", unsigned int port = 0, std::string content = ""); |
| | | |
| | | static std::vector<int> chnString2Vec(std::string str_list); |
| | |
| | | // void setDataByType(Json::Value& json,const SdkRule& rule); |
| | | |
| | | private: |
| | | //nsq |
| | | BasicMsg::Nsq::NsqMsgConsumer *nsqMsgConsumer; |
| | | |
| | | LDBTool *m_lDBTool; |
| | | int m_GB28181_Enable; |
| | | std::map<std::string, AppPipeController *> controllers; |
| | |
| | | |
| | | FastFdsWithLock fdfsClient; |
| | | std::map<int, SdkRule> sdkRuleMap; |
| | | |
| | | void addCamWithSearchRuleMap(const Record_Cam_Dev &item, string rtsp_url); |
| | | }; |
| | | |
| | | |