feat(emulator): added a bunch of flags to ffmpeg to reduce latency

This commit is contained in:
Laureηt 2021-11-03 23:27:11 +01:00
parent 6e11d44741
commit 12b92a2a0c
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -52,7 +52,13 @@ stream = Popen(
"-f", "-f",
"flv", "flv",
"-b:v", "-b:v",
"2M", "1M",
"-fflags",
"nobuffer",
"-flags",
"low_delay",
"-strict",
"experimental",
"rtmp://localhost:1935/live/test", "rtmp://localhost:1935/live/test",
], ],
stdin=PIPE, stdin=PIPE,