Add program date time to live playlist

This commit is contained in:
Chocobozzz 2022-04-19 16:22:21 +02:00
parent 023c3ca2e7
commit ffcfb32b2f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ function addDefaultLiveHLSParams (options: {
command.outputOption('-hls_time ' + getLiveSegmentTime(latencyMode)) command.outputOption('-hls_time ' + getLiveSegmentTime(latencyMode))
command.outputOption('-hls_list_size ' + VIDEO_LIVE.SEGMENTS_LIST_SIZE) command.outputOption('-hls_list_size ' + VIDEO_LIVE.SEGMENTS_LIST_SIZE)
command.outputOption('-hls_flags delete_segments+independent_segments') command.outputOption('-hls_flags delete_segments+independent_segments+program_date_time')
command.outputOption(`-hls_segment_filename ${join(outPath, '%v-%06d.ts')}`) command.outputOption(`-hls_segment_filename ${join(outPath, '%v-%06d.ts')}`)
command.outputOption('-master_pl_name ' + masterPlaylistName) command.outputOption('-master_pl_name ' + masterPlaylistName)
command.outputOption(`-f hls`) command.outputOption(`-f hls`)