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/FaceDetectServer/main.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QiaoJiaSystem/FaceDetectServer/main.cpp b/QiaoJiaSystem/FaceDetectServer/main.cpp index 425bdde..f2820dc 100644 --- a/QiaoJiaSystem/FaceDetectServer/main.cpp +++ b/QiaoJiaSystem/FaceDetectServer/main.cpp @@ -29,8 +29,8 @@ int threadMax = atol(ich->getProperties()->getProperty("user.thread.max").c_str()); #endif ich->getProperties()->setProperty("Ice.ThreadPool.Server.SizeMax",to_string(threadMax)); - appPref.setLongData("gpu.index",atol(gpuIndex.c_str())); - appPref.setLongData("thread.max", threadMax); + appPref.setIntData("gpu.index",atol(gpuIndex.c_str())); + appPref.setIntData("thread.max", threadMax); auto adapter = ich->createObjectAdapter(adapterName); adapter->add(new FaceDetectServerI(), Ice::stringToIdentity(identity)); -- Gitblit v1.8.0