| | |
| | | #include "DBManageClass.h" |
| | | #include "RtspAnalysElement.h" |
| | | #include <basic/debug/Debug.h> |
| | | #include "StructureApp/NewEncodeVideoManager.h" |
| | | //#include "PerimeterAlarmManager.h" |
| | | //#include "KeepRightManager.h" |
| | | //"192.168.1.4", 8000, "admin", "basic123" |
| | |
| | | |
| | | static void startRtspAnalysElement(LDBTool *_dbTool) { |
| | | RtspAnalysElement rtspAnalysElement(_dbTool); |
| | | NewEncodeVideoManager newEncodeVideoManager; |
| | | newEncodeVideoManager.start(); |
| | | while (1) { |
| | | sleep(1 * 60 * 60 * 12); |
| | | } |
| | |
| | | |
| | | bool loopRet = true; |
| | | while (loopRet) { |
| | | switch (_dbTool.searchDevTypeFromConfigTable()) { |
| | | switch (_dbTool.searchDevTypeFromConfigTable()) { |
| | | |
| | | case 0: { |
| | | DBG("case 0"); |
| | | sleep(5); |