1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

ffmpeg path hotfix

This commit is contained in:
NoobishSVK
2024-03-24 21:19:45 +01:00
parent 07d762c05d
commit 1352db389c

View File

@@ -16,7 +16,7 @@ function parseAudioDevice(options, callback) {
options = null;
}
options = options || {};
const ffmpegPath = ffmpeg.replace(/\\/g, '\\\\');
const ffmpegPath = "\"" + ffmpeg.replace(/\\/g, '\\\\') + "\"";
const callbackExists = typeof callback === 'function';
let inputDevice, prefix, audioSeparator, alternativeName, deviceParams;