[mirotalksfu] - update config
هذا الالتزام موجود في:
@@ -217,7 +217,9 @@ if (!announcedAddress) {
|
|||||||
(resp) => {
|
(resp) => {
|
||||||
resp.on('data', (ip) => {
|
resp.on('data', (ip) => {
|
||||||
announcedAddress = ip.toString();
|
announcedAddress = ip.toString();
|
||||||
config.mediasoup.webRtcTransport.listenInfos[0].announcedAddress = announcedAddress;
|
config.mediasoup.webRtcTransport.listenInfos.forEach((info) => {
|
||||||
|
info.announcedAddress = announcedAddress;
|
||||||
|
});
|
||||||
startServer();
|
startServer();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -354,11 +354,10 @@ module.exports = {
|
|||||||
// WebRtcTransport settings
|
// WebRtcTransport settings
|
||||||
webRtcTransport: {
|
webRtcTransport: {
|
||||||
listenInfos: [
|
listenInfos: [
|
||||||
{
|
{ protocol: 'tcp', ip: '0.0.0.0', announcedAddress: getLocalIp() },
|
||||||
protocol: 'udp',
|
{ protocol: 'udp', ip: '0.0.0.0', announcedAddress: getLocalIp() },
|
||||||
ip: '0.0.0.0',
|
//announcedAddress: replace by 'public static IPV4 address' https://api.ipify.org (type string --> 'xx.xxx.xxx.xx' not xx.xxx.xxx.xx)
|
||||||
announcedAddress: getLocalIp(), // 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'
|
||||||
}, //announcedAddress: '' will be auto-detected on server start, for docker localPC set '127.0.0.1' otherwise the 'public static IPV4 address'
|
|
||||||
],
|
],
|
||||||
initialAvailableOutgoingBitrate: 1000000,
|
initialAvailableOutgoingBitrate: 1000000,
|
||||||
minimumAvailableOutgoingBitrate: 600000,
|
minimumAvailableOutgoingBitrate: 600000,
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم