[mirotalksfu] - update dep and config
هذا الالتزام موجود في:
@@ -159,7 +159,7 @@ To embed a meeting in `your service or app` using an iframe, use the following c
|
|||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
- Before running MiroTalk SFU, ensure you have `Node.js` and all [requirements](https://mediasoup.org/documentation/v3/mediasoup/installation/#requirements) installed. This project has been tested with Node version [16.X](https://nodejs.org/en/blog/release/v16.15.1/) and [18.X](https://nodejs.org/en/download).
|
- Before running MiroTalk SFU, ensure you have `Node.js` and all [requirements](https://mediasoup.org/documentation/v3/mediasoup/installation/#requirements) installed. This project has been tested with Node version [18.X](https://nodejs.org/en/download).
|
||||||
|
|
||||||
- Requirements install example for `Ubuntu 20.04`
|
- Requirements install example for `Ubuntu 20.04`
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ dependencies: {
|
|||||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
* @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
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 1.4.13
|
* @version 1.4.14
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -792,7 +792,9 @@ function startServer() {
|
|||||||
const portIncrement = i;
|
const portIncrement = i;
|
||||||
|
|
||||||
for (const listenInfo of webRtcServerOptions.listenInfos) {
|
for (const listenInfo of webRtcServerOptions.listenInfos) {
|
||||||
listenInfo.port += portIncrement;
|
if (!listenInfo.portRange) {
|
||||||
|
listenInfo.port += portIncrement;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
log.info('Create a WebRtcServer', {
|
log.info('Create a WebRtcServer', {
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ function getIPv4() {
|
|||||||
|
|
||||||
const IPv4 = getIPv4();
|
const IPv4 = getIPv4();
|
||||||
|
|
||||||
|
const numWorkers = require('os').cpus().length;
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
server: {
|
server: {
|
||||||
listen: {
|
listen: {
|
||||||
@@ -337,10 +339,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
mediasoup: {
|
mediasoup: {
|
||||||
// Worker settings
|
// Worker settings
|
||||||
numWorkers: require('os').cpus().length,
|
numWorkers: numWorkers,
|
||||||
worker: {
|
worker: {
|
||||||
rtcMinPort: 40000,
|
|
||||||
rtcMaxPort: 40100,
|
|
||||||
logLevel: 'error',
|
logLevel: 'error',
|
||||||
logTags: ['info', 'ice', 'dtls', 'rtp', 'srtp', 'rtcp', 'rtx', 'bwe', 'score', 'simulcast', 'svc', 'sctp'],
|
logTags: ['info', 'ice', 'dtls', 'rtp', 'srtp', 'rtcp', 'rtx', 'bwe', 'score', 'simulcast', 'svc', 'sctp'],
|
||||||
},
|
},
|
||||||
@@ -400,13 +400,15 @@ module.exports = {
|
|||||||
listenInfos: [
|
listenInfos: [
|
||||||
{ protocol: 'udp', ip: '0.0.0.0', announcedAddress: IPv4, port: 44444 },
|
{ protocol: 'udp', ip: '0.0.0.0', announcedAddress: IPv4, port: 44444 },
|
||||||
{ protocol: 'tcp', ip: '0.0.0.0', announcedAddress: IPv4, port: 44444 },
|
{ protocol: 'tcp', ip: '0.0.0.0', announcedAddress: IPv4, port: 44444 },
|
||||||
|
// { protocol: 'udp', ip: '0.0.0.0', announcedAddress: IPv4, portRange: { min: 44444, max: 44444 + numWorkers }},
|
||||||
|
// { protocol: 'tcp', ip: '0.0.0.0', announcedAddress: IPv4, portRange: { min: 44444, max: 44444 + numWorkers }},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
// WebRtcTransportOptions
|
// WebRtcTransportOptions
|
||||||
webRtcTransport: {
|
webRtcTransport: {
|
||||||
listenInfos: [
|
listenInfos: [
|
||||||
{ protocol: 'udp', ip: '0.0.0.0', announcedAddress: IPv4 },
|
{ protocol: 'udp', ip: '0.0.0.0', announcedAddress: IPv4, portRange: { min: 40000, max: 40100 } },
|
||||||
{ protocol: 'tcp', ip: '0.0.0.0', announcedAddress: IPv4 },
|
{ protocol: 'tcp', ip: '0.0.0.0', announcedAddress: IPv4, portRange: { min: 40000, max: 40100 } },
|
||||||
],
|
],
|
||||||
initialAvailableOutgoingBitrate: 1000000,
|
initialAvailableOutgoingBitrate: 1000000,
|
||||||
minimumAvailableOutgoingBitrate: 600000,
|
minimumAvailableOutgoingBitrate: 600000,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mirotalksfu",
|
"name": "mirotalksfu",
|
||||||
"version": "1.4.13",
|
"version": "1.4.14",
|
||||||
"description": "WebRTC SFU browser-based video calls",
|
"description": "WebRTC SFU browser-based video calls",
|
||||||
"main": "Server.js",
|
"main": "Server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -37,6 +37,9 @@
|
|||||||
],
|
],
|
||||||
"author": "Miroslav Pejic",
|
"author": "Miroslav Pejic",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sentry/integrations": "7.109.0",
|
"@sentry/integrations": "7.109.0",
|
||||||
"@sentry/node": "7.109.0",
|
"@sentry/node": "7.109.0",
|
||||||
@@ -49,7 +52,7 @@
|
|||||||
"express": "4.19.2",
|
"express": "4.19.2",
|
||||||
"httpolyglot": "0.1.2",
|
"httpolyglot": "0.1.2",
|
||||||
"jsonwebtoken": "^9.0.2",
|
"jsonwebtoken": "^9.0.2",
|
||||||
"mediasoup": "3.13.24",
|
"mediasoup": "3.14.0",
|
||||||
"mediasoup-client": "3.7.6",
|
"mediasoup-client": "3.7.6",
|
||||||
"ngrok": "^5.0.0-beta.2",
|
"ngrok": "^5.0.0-beta.2",
|
||||||
"openai": "^4.33.0",
|
"openai": "^4.33.0",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
|
|||||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
* @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
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 1.4.13
|
* @version 1.4.14
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
* @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
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 1.4.13
|
* @version 1.4.14
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم