[mirotalksfu] - improvements

هذا الالتزام موجود في:
Miroslav Pejic
2024-12-29 14:28:29 +01:00
الأصل f6c3725419
التزام 09a7ff490a
5 ملفات معدلة مع 12 إضافات و10 حذوفات

عرض الملف

@@ -55,7 +55,7 @@ dev dependencies: {
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.65
* @version 1.6.66
*
*/
@@ -595,6 +595,8 @@ function startServer() {
return res.sendFile(views.login);
}
}
return res.redirect('/');
});
// join room by id
@@ -1254,9 +1256,9 @@ function startServer() {
const worker = await mediasoup.createWorker({
logLevel: logLevel,
logTags: logTags,
rtcMinPort: rtcMinPort,
rtcMaxPort: rtcMaxPort,
disableLiburing: disableLiburing,
rtcMinPort: Number(rtcMinPort),
rtcMaxPort: Number(rtcMaxPort),
disableLiburing: Boolean(disableLiburing),
});
if (webRtcServerActive) {

عرض الملف

@@ -29,8 +29,6 @@ function getIPv4() {
*/
const IPv4 = getIPv4(); // Replace with the appropriate IPv4 address for your environment.
const numWorkers = require('os').cpus().length;
/*
Set the port range for WebRTC communication. This range is used for the dynamic allocation of UDP ports for media streams.
- Each participant requires 2 ports: one for audio and one for video.
@@ -43,6 +41,8 @@ const numWorkers = require('os').cpus().length;
const rtcMinPort = 40000;
const rtcMaxPort = 40100;
const numWorkers = require('os').cpus().length;
module.exports = {
console: {
/*