From 8ece1bcf75056d8006e2d56721d1a6498e7d273c Mon Sep 17 00:00:00 2001 From: admin <zzjincn@163.com> Date: 星期二, 29 四月 2025 15:09:55 +0800 Subject: [PATCH] 写入redis处理加上失效ttl --- PreProcessFn.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PreProcessFn.h b/PreProcessFn.h index e09831b..ded2222 100644 --- a/PreProcessFn.h +++ b/PreProcessFn.h @@ -48,10 +48,10 @@ string rabbitport = "";//rabblitMQ绔彛 string rabbituser = "";//rabblitMQ鐢ㄦ埛鍚� string rabbitpass = "";//rabblitMQ瀵嗙爜 - + std::vector<std::vector<int>> c_list; bool asyncStop = false; - long deley = 50;//鍙栧抚寤惰繜 + long skipN = 50;//鍙栧抚寤惰繜 int recordtime = 20;//鎶ヨ褰曞埗鏃堕暱 int RecIntervalime = 100;//褰曞儚闂撮殧鏃堕棿 @@ -74,5 +74,7 @@ void fnPushVideo(queue<Mat>& queJC2, string ipccode); + void fnPushVideoToUrl(queue<Mat>& queJC2,string toRtsp, string fps,string video_size,string ipccode); + }; -- Gitblit v1.8.0