fix(video): remove persistent HTTP connection. Hopefully fixes #4106

This commit is contained in:
Gabe Kangas
2025-01-14 08:37:27 -08:00
parent 2b42ff5ce4
commit b45552ade0
7 changed files with 7 additions and 8 deletions

View File

@ -229,8 +229,7 @@ func (t *Transcoder) getString() string {
"-hls_segment_filename", localListenerAddress + "/%v/stream-" + t.segmentIdentifier + "-%d.ts", // Send HLS segments back to us over HTTP
"-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
"-method PUT", // HLS results sent back to us will be over PUTs
localListenerAddress + "/%v/stream.m3u8", // Send HLS playlists back to us over HTTP
}