fix
parent
38111e80a5
commit
591fdfe68c
|
@ -292,7 +292,7 @@ int FfmpegCamera::OpenFfmpeg() {
|
||||||
} else if ( method == "rtpRtspHttp" ) {
|
} else if ( method == "rtpRtspHttp" ) {
|
||||||
ret = av_dict_set(&opts, "rtsp_transport", "http", 0);
|
ret = av_dict_set(&opts, "rtsp_transport", "http", 0);
|
||||||
} else {
|
} else {
|
||||||
Warning("Unknown method (%s)", method);
|
Warning("Unknown method (%s)", method.c_str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ret < 0 ) {
|
if ( ret < 0 ) {
|
||||||
|
|
Loading…
Reference in New Issue