diff options
author | Chocobozzz <me@florianbigard.com> | 2022-04-19 16:22:21 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-04-19 16:24:49 +0200 |
commit | ffcfb32b2f593be46120b9e5fd16d6f8741d8ddc (patch) | |
tree | 73ed308fa74468a7c025f9d9e7ee88a599174f68 /server | |
parent | 023c3ca2e7337851d90c5acf813372894906d2ae (diff) | |
download | PeerTube-ffcfb32b2f593be46120b9e5fd16d6f8741d8ddc.tar.gz PeerTube-ffcfb32b2f593be46120b9e5fd16d6f8741d8ddc.tar.zst PeerTube-ffcfb32b2f593be46120b9e5fd16d6f8741d8ddc.zip |
Add program date time to live playlist
Diffstat (limited to 'server')
-rw-r--r-- | server/helpers/ffmpeg/ffmpeg-live.ts | 2 |
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`) |