QiaoJiaSystem/VideoAnalysFromHC/RtspAnalysElement.h
@@ -11,6 +11,7 @@
#include <VideoServer/QiaoJia/DB/LDBTool.h>
#include <basic/util/app/AppPreference.hpp>
#include "NsqMsgTool.hpp"
class RtspAnalysElement {
@@ -36,6 +37,8 @@
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);
@@ -43,6 +46,9 @@
//    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;
@@ -51,6 +57,8 @@
    FastFdsWithLock fdfsClient;
    std::map<int, SdkRule> sdkRuleMap;
    void addCamWithSearchRuleMap(const Record_Cam_Dev &item, string rtsp_url);
};