Use tcp only

This commit is contained in:
Giuseppe Coviello 2024-02-16 12:54:18 -05:00
parent 137456d41f
commit f1dcf4707c

View file

@ -43,6 +43,7 @@ func ffprobe(filename, stype string) ([]map[string]string, error) {
// Extract video information with ffprobe.
cmd := exec.Command(
"ffprobe",
"-rtsp_transport", "tcp",
"-show_streams",
"-select_streams", stype,
"-print_format", "compact",