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

bugfix for audio crash

This commit is contained in:
NoobishSVK
2024-03-21 15:47:55 +01:00
parent 090fcbcf38
commit fe7924f977
3 changed files with 4 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ const fs_1 = require("fs");
const child_process_1 = require("child_process");
const ws = __importStar(require("ws"));
const wrtc = require('wrtc');
const Settings = JSON.parse((0, fs_1.readFileSync)('stream/settings.json', 'utf-8'));
const Settings = JSON.parse((0, fs_1.readFileSync)('server/stream/settings.json', 'utf-8'));
const FFmpeg_command = (() => {
if (process.platform === 'win32')
return Settings.FallbackFFmpegPath;