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 | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/QiaoJiaSystem/StructureApp/AppPipeController.h b/QiaoJiaSystem/StructureApp/AppPipeController.h
index 30337d1..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 <RtspAnalysServer.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;
@@ -112,7 +113,7 @@
std::mutex mutex;
bool m_bSetWH;
HiredisTool m_hiredisTool;
- IceRpcClient<RtspAnalys::RtspAnalysServerPrx> rpcClient;
+
};
#endif // APPPIPECONTROLLER_H
--
Gitblit v1.8.0