From ae5899dc884d8d7e1427e45c35e865d7ca51c34b Mon Sep 17 00:00:00 2001 From: miyanhui <dennismi1024@gmail.com> Date: 星期五, 15 二月 2019 14:56:24 +0800 Subject: [PATCH] 新的方式解决视频不录的问题 --- QiaoJiaSystem/StructureApp/AppPipeController.h | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/QiaoJiaSystem/StructureApp/AppPipeController.h b/QiaoJiaSystem/StructureApp/AppPipeController.h index e617143..ab0e738 100644 --- a/QiaoJiaSystem/StructureApp/AppPipeController.h +++ b/QiaoJiaSystem/StructureApp/AppPipeController.h @@ -19,7 +19,7 @@ #include "PerStaticElement.h" #include <jsoncpp/json/json.h> #include "DBStruct.h" - +#include "SaveVideoRpc.h" class AppPipeController : public PipeController { public: /*** @@ -60,7 +60,7 @@ //TriggerElement crowdTriggerElement; void initCrowd(); - + void RecordVideo(); private://KeepRight JudgmentRetrogradeTool leftJudgment; JudgmentRetrogradeTool rightJudgment; @@ -79,6 +79,7 @@ void initPerHub(); private: + SaveVideoRpcClient_t m_rpcClient; ffmpeg::VideoCaptureElement videoCaptureElement; YoloRpcElement yoloRpcElement; FaceRpcElement faceRpcElement; @@ -109,6 +110,9 @@ SdkRuleMap m_sdkRuleMap; std::string m_localIp; std::string getFullFileName(); + std::mutex mutex; + bool m_bSetWH; + HiredisTool m_hiredisTool; }; -- Gitblit v1.8.0