派生自 development/c++

xuxiuxi
2019-03-08 5bf0020b189b2bc8c64737c2af4ea77c3e8f5612
QiaoJiaSystem/VideoToImageMulth/main.cpp
@@ -62,11 +62,17 @@
    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);