Skip to content

Commit d3cbed1

Browse files
authored
Fix ffmpeg path access (firebase#847)
1 parent 40ca1ce commit d3cbed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffmpeg-convert-audio/functions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ exports.generateMonoAudio = functions.storage.object().onFinalize(async (object)
6868
// Convert the audio to mono channel using FFMPEG.
6969

7070
let command = ffmpeg(tempFilePath)
71-
.setFfmpegPath(ffmpeg_static.path)
71+
.setFfmpegPath(ffmpeg_static)
7272
.audioChannels(1)
7373
.audioFrequency(16000)
7474
.format('flac')

0 commit comments

Comments
 (0)