Add persistent http connection optimization. Closes #3985

This commit is contained in:
Gabe Kangas 2024-10-26 11:56:44 -07:00
parent 0e0f8d7284
commit 05545cb6da

View file

@ -230,6 +230,8 @@ func (t *Transcoder) getString() string {
"-max_muxing_queue_size", "400", // Workaround for Too many packets error: https://trac.ffmpeg.org/ticket/6375?cversion=0
"-method PUT", // HLS results sent back to us will be over PUTs
"-http_persistent", "1", // Ensures persistent HTTP connections
localListenerAddress + "/%v/stream.m3u8", // Send HLS playlists back to us over HTTP
}