[mirotalksfu] - add comment, update dep
هذا الالتزام موجود في:
@@ -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 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.6.44
|
* @version 1.6.45
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,17 @@ function getIPv4() {
|
|||||||
return '0.0.0.0'; // Default to 0.0.0.0 if no external IPv4 address found
|
return '0.0.0.0'; // Default to 0.0.0.0 if no external IPv4 address found
|
||||||
}
|
}
|
||||||
|
|
||||||
const IPv4 = getIPv4(); // Replace it with the Server Public IPv4 in production.
|
/*
|
||||||
|
IPv4 Configuration Guide:
|
||||||
|
1. Localhost Setup:
|
||||||
|
- For local development with Docker, replace `getIPv4()` with '127.0.0.1'.
|
||||||
|
2. Production Setup:
|
||||||
|
- Replace `getIPv4()` with the 'Public Static IPv4 Address' of the server hosting this application.
|
||||||
|
- For AWS EC2 instances, replace `getIPv4()` with the 'Elastic IP' associated with the instance.
|
||||||
|
This ensures the public IP remains consistent across instance reboots.
|
||||||
|
Note: Always enclose the IP address in single quotes ''.
|
||||||
|
*/
|
||||||
|
const IPv4 = getIPv4(); // Replace with the appropriate IPv4 address for your environment.
|
||||||
|
|
||||||
const numWorkers = require('os').cpus().length;
|
const numWorkers = require('os').cpus().length;
|
||||||
|
|
||||||
@@ -630,7 +640,5 @@ module.exports = {
|
|||||||
maxSctpMessageSize: 262144,
|
maxSctpMessageSize: 262144,
|
||||||
maxIncomingBitrate: 1500000,
|
maxIncomingBitrate: 1500000,
|
||||||
},
|
},
|
||||||
//announcedAddress: replace by 'public static IPV4 address' https://api.ipify.org (type string --> 'xx.xxx.xxx.xx' not xx.xxx.xxx.xx)
|
|
||||||
//announcedAddress: '' will be auto-detected on server start, for docker localPC set '127.0.0.1' otherwise the 'public static IPV4 address'
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mirotalksfu",
|
"name": "mirotalksfu",
|
||||||
"version": "1.6.44",
|
"version": "1.6.45",
|
||||||
"description": "WebRTC SFU browser-based video calls",
|
"description": "WebRTC SFU browser-based video calls",
|
||||||
"main": "Server.js",
|
"main": "Server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
"mediasoup-client": "3.7.18",
|
"mediasoup-client": "3.7.18",
|
||||||
"ngrok": "^5.0.0-beta.2",
|
"ngrok": "^5.0.0-beta.2",
|
||||||
"nodemailer": "^6.9.16",
|
"nodemailer": "^6.9.16",
|
||||||
"openai": "^4.75.0",
|
"openai": "^4.76.0",
|
||||||
"qs": "6.13.1",
|
"qs": "6.13.1",
|
||||||
"socket.io": "4.8.1",
|
"socket.io": "4.8.1",
|
||||||
"swagger-ui-express": "5.0.1",
|
"swagger-ui-express": "5.0.1",
|
||||||
|
|||||||
@@ -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.6.44
|
* @version 1.6.45
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -4616,7 +4616,7 @@ function showAbout() {
|
|||||||
imageUrl: image.about,
|
imageUrl: image.about,
|
||||||
customClass: { image: 'img-about' },
|
customClass: { image: 'img-about' },
|
||||||
position: 'center',
|
position: 'center',
|
||||||
title: 'WebRTC SFU v1.6.44',
|
title: 'WebRTC SFU v1.6.45',
|
||||||
html: `
|
html: `
|
||||||
<br />
|
<br />
|
||||||
<div id="about">
|
<div id="about">
|
||||||
|
|||||||
@@ -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.6.44
|
* @version 1.6.45
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم