mirror of
https://github.com/owncast/owncast.git
synced 2024-11-24 05:38:58 +03:00
Add persistent http connection optimization. Closes #3985
This commit is contained in:
parent
0e0f8d7284
commit
05545cb6da
1 changed files with 3 additions and 1 deletions
|
@ -229,7 +229,9 @@ func (t *Transcoder) getString() string {
|
||||||
"-hls_segment_filename", localListenerAddress + "/%v/stream-" + t.segmentIdentifier + "-%d.ts", // Send HLS segments back to us over HTTP
|
"-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
|
"-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
|
"-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
|
localListenerAddress + "/%v/stream.m3u8", // Send HLS playlists back to us over HTTP
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue