Use tcp only
This commit is contained in:
parent
137456d41f
commit
f1dcf4707c
1 changed files with 1 additions and 0 deletions
1
utils.go
1
utils.go
|
@ -43,6 +43,7 @@ func ffprobe(filename, stype string) ([]map[string]string, error) {
|
||||||
// Extract video information with ffprobe.
|
// Extract video information with ffprobe.
|
||||||
cmd := exec.Command(
|
cmd := exec.Command(
|
||||||
"ffprobe",
|
"ffprobe",
|
||||||
|
"-rtsp_transport", "tcp",
|
||||||
"-show_streams",
|
"-show_streams",
|
||||||
"-select_streams", stype,
|
"-select_streams", stype,
|
||||||
"-print_format", "compact",
|
"-print_format", "compact",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue