[mirotalksfu] - add RTMP server and multi-source streaming!, update dep

هذا الالتزام موجود في:
Miroslav Pejic
2024-06-29 18:49:10 +02:00
الأصل aaf5fe44ed
التزام 3929212631
52 ملفات معدلة مع 3986 إضافات و132 حذوفات

عرض الملف

@@ -0,0 +1,30 @@
'use strict';
const config = {
rtmp: {
port: 1935,
chunk_size: 60000,
gop_cache: true,
ping: 60,
ping_timeout: 30,
},
http: {
port: 8081,
allow_origin: '*',
},
https: {
port: 8043,
key: __dirname + '/key.pem',
cert: __dirname + '/cert.pem',
},
auth: {
api: true,
api_user: 'mirotalk',
api_pass: 'mirotalkRtmpPassword', // http://localhost:8081/admin
play: false, // Require authentication for playing streams
publish: false, // Require authentication for publishing streams
secret: 'mirotalkRtmpSecret', // Check the sign.js file to generate a valid RTMP URL
},
};
module.exports = config;