[mirotalksfu] - add comment, update dep

هذا الالتزام موجود في:
Miroslav Pejic
2024-12-05 22:14:25 +01:00
الأصل 539e994746
التزام 31bc22bd1e
5 ملفات معدلة مع 17 إضافات و9 حذوفات

عرض الملف

@@ -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.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
}
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;
@@ -630,7 +640,5 @@ module.exports = {
maxSctpMessageSize: 262144,
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'
},
};