From 6540a2a9d69432c4cc475e3b32eae11e9e0ace73 Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期四, 11 四月 2019 20:28:10 +0800
Subject: [PATCH] 1.srs的分辨率在config.json配置 2.单播推流控制,国标摄像机差一个关闭测试 3. 底库字段添加

---
 QiaoJiaSystem/StructureApp/PerStaticElement.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/QiaoJiaSystem/StructureApp/PerStaticElement.cpp b/QiaoJiaSystem/StructureApp/PerStaticElement.cpp
index 1aa7c86..4d9f1d3 100644
--- a/QiaoJiaSystem/StructureApp/PerStaticElement.cpp
+++ b/QiaoJiaSystem/StructureApp/PerStaticElement.cpp
@@ -17,8 +17,7 @@
 m_triggerElement(0,0),
 m_lTime(AppUtil::getCurrentUs()),
 pManagerEsDB(nullptr),
-m_bIsMask(true),
-m_bSetWH(false)
+m_bIsMask(true)
 {
    pManagerEsDB=new EsDBTool(appPref.getStringData("ipAdd"), appPref.getIntData("ipPort"));
 
@@ -270,7 +269,8 @@
     t_json["videoIp"] = m_sdkRule.strAddr.toStdString();  // 璁惧ip
     t_json["ack_alarm"]=m_triggerElement.getTriggerState()?"0":"";  //  que ren shi fou bao jing
     t_json["cluster_id"]=appPref.getStringData("clusterID");; // ji qun id
-
+    t_json["imgKey"] = obj.properties["imgKey"];
+    INFO("SaveImgKeyToES: "<<obj.properties["imgKey"]);
     bool retface = false;
     if(pManagerEsDB)
     retface = pManagerEsDB->insertData("personaction", "perVideoAction", t_json.toStyledString(), str_uuid);

--
Gitblit v1.8.0