Adds low delay for any ffmpeg source

This commit is contained in:
Alexey Khit
2022-09-04 23:02:54 +03:00
parent e3618d70c3
commit 0e71bd4dcb

View File

@@ -22,7 +22,7 @@ func Init() {
// inputs
"file": "-re -stream_loop -1 -i {input}",
"http": "-i {input}",
"http": "-fflags nobuffer -flags low_delay -i {input}",
"rtsp": "-fflags nobuffer -flags low_delay -rtsp_transport tcp -i {input}",
// output