| | |
| | | |
| | | string path = appConfig.getStringProperty("srsAddr") + "cam" + chanPubID + ".flv"; |
| | | cv::Size size_(appPref.getIntData("pulish.width"), appPref.getIntData("pulish.height")); |
| | | int gupIdx = appPref.getLongData("gpu.index"); |
| | | int gupIdx = appPref.getIntData("gpu.index"); |
| | | videoPublishElement = new ffmpeg::VideoPublishElement(path, size_, "flv", 25, gupIdx); |
| | | if (appPref.getIntData("pulish.width") < 0 || appPref.getIntData("pulish.height") < 0) { |
| | | ERR("pulish.width: " << appPref.getIntData("pulish.width") << " Height: " |