[mirotalksfu] - autodetect default ffmpegPath for Rtmp streaming
هذا الالتزام موجود في:
@@ -1,7 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
const config = require('./config');
|
||||
const ffmpegPath = config.server.rtmp && config.server.rtmp.ffmpeg ? config.server.rtmp.ffmpeg : '/usr/bin/ffmpeg';
|
||||
const ffmpegPath =
|
||||
config.server.rtmp && config.server.rtmp.ffmpegPath ? config.server.rtmp.ffmpegPath : '/usr/bin/ffmpeg';
|
||||
const ffmpeg = require('fluent-ffmpeg');
|
||||
ffmpeg.setFfmpegPath(ffmpegPath);
|
||||
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم