mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 03:29:03 +03:00
Simplify segment filenames. Closes #1778
Remove the seconds as an identifier to allow for segments to be written more than one per second.
This commit is contained in:
parent
994145b609
commit
b9a597299f
1 changed files with 1 additions and 2 deletions
|
@ -220,9 +220,8 @@ func (t *Transcoder) getString() string {
|
|||
|
||||
// Filenames
|
||||
"-master_pl_name", "stream.m3u8",
|
||||
"-strftime 1", // Support the use of strftime in filenames
|
||||
|
||||
"-hls_segment_filename", localListenerAddress + "/%v/stream-" + t.segmentIdentifier + "%s.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
|
||||
|
||||
"-method PUT", // HLS results sent back to us will be over PUTs
|
||||
|
|
Loading…
Reference in a new issue