| | |
| | | //#include <sstream> |
| | | #include <algorithm> |
| | | AppPipeController::AppPipeController(int index, const Json::Value &json): |
| | | videoCaptureElement(json["rtsp"].asString(), 25,3000,appPref.getLongData("gpu.index")), |
| | | videoCaptureElement(json["rtsp"].asString(), 25,3000,appPref.getIntData("gpu.index")), |
| | | index(index), videoPublishElement(appPref.getStringData("publish.basepath")+".flv", |
| | | cv::Size(appPref.getIntData("pulish.width"),appPref.getIntData("pulish.height")), |
| | | "flv", 25, appPref.getLongData("gpu.index")) |
| | | "flv", 25, appPref.getIntData("gpu.index")) |
| | | { |
| | | if(appPref.getIntData("pulish.width") < 0 || appPref.getIntData("pulish.height") < 0) |
| | | { |