| | |
| | | if (argc < 4) { |
| | | assert("t_value.size()"); |
| | | } |
| | | |
| | | { |
| | | // std::string rtmpAddr = appConfig.getStringProperty("srsAddr"); |
| | | // std::string publish_basepath = rtmpAddr + "" ; |
| | | // appPref.setStringData("publish.basepath", publish_basepath); |
| | | appPref.setIntData("pulish.width", 640); |
| | | appPref.setIntData("pulish.height", 360); |
| | | } |
| | | int arg1 = atoi(argv[1]); |
| | | |
| | | int gindx = abs(arg1) % 2; |
| | | int GB28181_Enable = arg1 < 0 ? gindx : -1; |
| | | int GB28181_Enable = arg1 < 0 ? 1 : 0; |
| | | |
| | | DBG(gindx); |
| | | appPref.setIntData("GB28181_Enable", GB28181_Enable); |