aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/ffmpeg
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-04-19 16:22:21 +0200
committerChocobozzz <me@florianbigard.com>2022-04-19 16:24:49 +0200
commitffcfb32b2f593be46120b9e5fd16d6f8741d8ddc (patch)
tree73ed308fa74468a7c025f9d9e7ee88a599174f68 /server/helpers/ffmpeg
parent023c3ca2e7337851d90c5acf813372894906d2ae (diff)
downloadPeerTube-ffcfb32b2f593be46120b9e5fd16d6f8741d8ddc.tar.gz
PeerTube-ffcfb32b2f593be46120b9e5fd16d6f8741d8ddc.tar.zst
PeerTube-ffcfb32b2f593be46120b9e5fd16d6f8741d8ddc.zip
Add program date time to live playlist
Diffstat (limited to 'server/helpers/ffmpeg')
-rw-r--r--server/helpers/ffmpeg/ffmpeg-live.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg/ffmpeg-live.ts b/server/helpers/ffmpeg/ffmpeg-live.ts
index fd20971eb..8377dc7e2 100644
--- a/server/helpers/ffmpeg/ffmpeg-live.ts
+++ b/server/helpers/ffmpeg/ffmpeg-live.ts
@@ -177,7 +177,7 @@ function addDefaultLiveHLSParams (options: {
177 177
178 command.outputOption('-hls_time ' + getLiveSegmentTime(latencyMode)) 178 command.outputOption('-hls_time ' + getLiveSegmentTime(latencyMode))
179 command.outputOption('-hls_list_size ' + VIDEO_LIVE.SEGMENTS_LIST_SIZE) 179 command.outputOption('-hls_list_size ' + VIDEO_LIVE.SEGMENTS_LIST_SIZE)
180 command.outputOption('-hls_flags delete_segments+independent_segments') 180 command.outputOption('-hls_flags delete_segments+independent_segments+program_date_time')
181 command.outputOption(`-hls_segment_filename ${join(outPath, '%v-%06d.ts')}`) 181 command.outputOption(`-hls_segment_filename ${join(outPath, '%v-%06d.ts')}`)
182 command.outputOption('-master_pl_name ' + masterPlaylistName) 182 command.outputOption('-master_pl_name ' + masterPlaylistName)
183 command.outputOption(`-f hls`) 183 command.outputOption(`-f hls`)