ActivityPub-federated video streaming platform using P2P directly in your web browser
Increase live segment file name
Chocobozzz2122606318bf
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.tsindex 69564a1a3b..1d610eff24 100644--- a/server/helpers/ffmpeg-utils.ts+++ b/server/helpers/ffmpeg-utils.ts@@ -509,7 +509,7 @@ function addDefaultLiveHLSParams (command: ffmpeg.FfmpegCommand, outPath: stringcommand.outputOption('-hls_flags delete_segments')}- command.outputOption(`-hls_segment_filename ${join(outPath, '%v-%04d.ts')}`)+ command.outputOption(`-hls_segment_filename ${join(outPath, '%v-%06d.ts')}`)command.outputOption('-master_pl_name master.m3u8')command.outputOption(`-f hls`)