Fix: hls fmp4 init.mp4 filename to stream flac files

This commit is contained in:
advplyr committed 2021-10-23 10:57:01 -05:00
1 parent 74d2987310
commit ee1dc92898
3 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -273,7 +273,8 @@ class Stream extends EventEmitter {
]
if (this.hlsSegmentType === 'fmp4') {
hlsOptions.push('-strict -2')
var fmp4InitFilename = Path.join(this.streamPath, 'init.mp4')
// var fmp4InitFilename = Path.join(this.streamPath, 'init.mp4')
var fmp4InitFilename = 'init.mp4'
hlsOptions.push(`-hls_fmp4_init_filename ${fmp4InitFilename}`)
}
this.ffmpeg.addOption(hlsOptions)