| | |
| | | DBG("hava GB28181"); |
| | | #endif |
| | | |
| | | appPref.setLongData("gpu.index", 0); |
| | | if (argc < 4) { |
| | | assert("t_value.size()"); |
| | | } |
| | | |
| | | int arg1 = atoi(argv[1]); |
| | | |
| | | int gindx = abs(arg1) % 2; |
| | | int GB28181_Enable = arg1 < 0 ? 1 : -1; |
| | | DBG(gindx); |
| | | appPref.setIntData("GB28181_Enable", GB28181_Enable); |
| | | |
| | | appPref.setLongData("gpu.index", gindx); |
| | | appPref.setIntData("show.image", 0); |
| | | |
| | | //todo |
| | |
| | | // faceSearchRpcClient("faceCmServer", "", 10004, "tcp") |
| | | |
| | | //loopRecord server |
| | | appPref.setStringData("loopRecord.proxy", "LoopRecordVideoServer"); |
| | | //#todo |
| | | appPref.setStringData("loopRecord.ip", ""); |
| | | appPref.setIntData("loopRecord.port", 10010); |
| | | // appPref.setStringData("loopRecord.proxy", "LoopRecordVideoServer"); |
| | | // //#todo |
| | | // appPref.setStringData("loopRecord.ip", ""); |
| | | // appPref.setIntData("loopRecord.port", 10010); |
| | | //rpcClient(appPref.getStringData("loopRecord.proxy"), appPref.getStringData("loopRecord.ip"), appPref.getLongData("loopRecord.port"),"tcp"), |
| | | |
| | | LDBTool _dbTool; |