From 26458587182bf9a2bc10a5fa8e5ab6e41211da74 Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期一, 22 四月 2019 13:46:02 +0800
Subject: [PATCH] 推流按cap的时间来
---
QiaoJiaSystem/StructureApp/AppPipeController.h | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/QiaoJiaSystem/StructureApp/AppPipeController.h b/QiaoJiaSystem/StructureApp/AppPipeController.h
index 2018f12..0bb873a 100644
--- a/QiaoJiaSystem/StructureApp/AppPipeController.h
+++ b/QiaoJiaSystem/StructureApp/AppPipeController.h
@@ -20,6 +20,7 @@
#include <jsoncpp/json/json.h>
#include "DBStruct.h"
#include "SaveVideoRpc.h"
+#include "VptRpcElement.h"
class VideoCaptureElementNotDecoder : public ffmpeg::VideoCaptureElement {
using ffmpeg::VideoCaptureElement::VideoCaptureElement;
@@ -105,7 +106,13 @@
SaveVideoRpcClient_t m_rpcClient;
VideoCaptureElementNotDecoder videoCaptureElement;
// ffmpeg::VideoCaptureElement videoCaptureElement;
+
+#ifdef YOLOSERVER
YoloRpcElement yoloRpcElement;
+#else
+ VptRpcElement vptRpcElement;
+#endif
+
FaceRpcElement faceRpcElement;
FaceExtractElement faceExtractElement;
ImageDrawElement imageDrawElement;
@@ -116,10 +123,10 @@
int m_index;
std::string m_camId;
std::string m_folderPath;
- Json::Value m_json;
- Json::Value m_json_Record;
+// Json::Value m_json;
+// Json::Value m_json_Record;
+// Json::FastWriter m_fastWriter;
- Json::FastWriter m_fastWriter;
FastFdsWithLock *fdfsClient;
bool bRecordVideoEnable;
--
Gitblit v1.8.0