[mirotalksfu] - add RTMP server and multi-source streaming!, update dep
هذا الالتزام موجود في:
30
rtmpServers/node-media-server/src/config.template.js
Normal file
30
rtmpServers/node-media-server/src/config.template.js
Normal file
@@ -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;
|
||||
المرجع في مشكلة جديدة
حظر مستخدم