Add "noDefaultRecordingSegmentFormatOptions" bool

node-20
Moe 2023-09-16 07:53:20 -07:00
parent f22d4d1800
commit dcd69e3c09
1 changed files with 1 additions and 1 deletions

View File

@ -548,7 +548,7 @@ module.exports = (s,config,lang) => {
recordingFilters.push(`fps=${videoFps}`) recordingFilters.push(`fps=${videoFps}`)
} }
} }
if(videoExtIsMp4){ if(videoExtIsMp4 && !config.noDefaultRecordingSegmentFormatOptions){
customRecordingFlags.push(`-segment_format_options movflags=faststart`) customRecordingFlags.push(`-segment_format_options movflags=faststart`)
} }
if(videoCodec === 'h264_vaapi'){ if(videoCodec === 'h264_vaapi'){