[mirotalksfu] - Improve config.js.template, add .env.template, update dep

هذا الالتزام موجود في:
Miroslav Pejic
2025-03-29 00:54:08 +01:00
الأصل 531b1342c5
التزام e3511513bc
19 ملفات معدلة مع 1594 إضافات و834 حذوفات

عرض الملف

@@ -3,8 +3,7 @@
const config = require('./config');
const { PassThrough } = require('stream');
const ffmpeg = require('fluent-ffmpeg');
const ffmpegPath =
config.server.rtmp && config.server.rtmp.ffmpegPath ? config.server.rtmp.ffmpegPath : '/usr/bin/ffmpeg';
const ffmpegPath = config.media?.rtmp?.ffmpegPath || '/usr/bin/ffmpeg';
ffmpeg.setFfmpegPath(ffmpegPath);
const Logger = require('./Logger');