From db043cb402515837303880cb0948d060e9d76490 Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期一, 15 四月 2019 17:13:16 +0800 Subject: [PATCH] 整合代码 --- QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp b/QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp index 3214411..fa3087a 100644 --- a/QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp +++ b/QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp @@ -115,12 +115,12 @@ if (pthis->m_GB28181_Enable) { if (pthis->m_controllers_videoCapElem.find(cam_idx) != pthis->m_controllers_videoCapElem.end()) { - INFO("cam add is " << cfg_val["str_addr"].asString()); + INFO("cam add is " << cam_idx); pthis->m_controllers_videoCapElem[cam_idx]->startPublishVideo(); } } else { if (pthis->m_controllers.find(cam_idx) != pthis->m_controllers.end()) { - INFO("cam add is " << cfg_val["str_addr"].asString()); + INFO("cam add is " << cam_idx); pthis->m_controllers[cam_idx]->startPublishVideo(); } } @@ -325,7 +325,7 @@ // auto lst = m_lDBTool->searchCamDevTableAll(); Record_Config lst_dev = m_lDBTool->searchConfigTableWithinServerInfo(); if (m_controllers.find(index) == m_controllers.end()) { - INFO("MYH DEBUG HERE"); +// INFO("MYH DEBUG HERE"); if (m_currentCount >= m_maxCount) { ERR("addCamera faild, camera's num is full!") return -1; @@ -356,7 +356,7 @@ * @return 鎬绘槸0 */ int RtspAnalysManager::removeCamera(const std::string &index) { - INFO("MYH DEBUG HERE"); +// INFO("MYH DEBUG HERE"); if (m_GB28181_Enable) { if (m_controllers_videoCapElem.find(index) == m_controllers_videoCapElem.end())return -1; auto controller = m_controllers_videoCapElem[index]; @@ -382,7 +382,7 @@ delete imgRedis; m_imgRedisControllers.erase(index); m_imgRedisCRwLock.unlock(); - INFO("MYH DEBUG HERE"); +// INFO("MYH DEBUG HERE"); return 0; } -- Gitblit v1.8.0