From 12879769af38a00425309e292b2c167afc6612c1 Mon Sep 17 00:00:00 2001
From: pansen <pansen626@sina.com>
Date: 星期四, 04 四月 2019 11:27:38 +0800
Subject: [PATCH] 增加点播功能

---
 QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.h b/QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.h
index 51c5a86..36fa3ea 100644
--- a/QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.h
+++ b/QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.h
@@ -5,6 +5,7 @@
 #include <opencv2/opencv.hpp>
 #include "../StructureApp/HiredisTool.h"
 #include <atomic>
+#include <basic/pipe_element/ffmpeg/FfmpegElement.h>
 
 class RtspAnalysManager;
 
@@ -26,6 +27,10 @@
 
     //璁剧疆淇濆瓨瑙嗛鐨勬渶灏忓拰鏈�澶ч暱搴�,鍗曚綅鏄,瀹為檯鐨勮繍琛屾儏鍐垫湁涓�浜涘樊璺濓紝闇�瑕佸畬鍠�
     void SetVideoMinMaxSeconds(const int minSeconds, const int maxSeconds);
+
+    void startPublishVideo();
+
+    void stopPublishVideo();
 
 private:
     //绾跨▼鎵ц鍑芥暟
@@ -49,6 +54,9 @@
     //淇濆瓨瑙嗛娴佺殑璺緞,绫讳技浜巖tsp://admin:a1234567@192.168.1.201:554/h264/ch2/main/av_stream
     std::string m_path;
 
+
+    std::atomic<bool> m_publishVideoRet{false};
+    ffmpeg::VideoPublishElement *videoPublishElement;
     // Redis鐨勫伐鍏风被
 //        HiredisTool m_redisTool;
 

--
Gitblit v1.8.0