From d342cd501ce377ca5a8810451611bb89f71f2cb0 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Thu, 25 Apr 2024 12:28:19 +0200 Subject: [PATCH] [mirotalksfu] - update bindable.js --- app/src/scripts/bindable.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/scripts/bindable.js b/app/src/scripts/bindable.js index 253e9dc2..08c5c5e9 100644 --- a/app/src/scripts/bindable.js +++ b/app/src/scripts/bindable.js @@ -61,7 +61,9 @@ async function main() { const webRtcServerIpInfo = config.mediasoup.webRtcServerOptions.listenInfos[0]; const webRtcServerIpAddress = webRtcServerIpInfo.ip !== '0.0.0.0' ? webRtcServerIpInfo.ip : webRtcServerIpInfo.announcedAddress; - const webRtcServerStartPort = webRtcServerIpInfo.port; + const webRtcServerStartPort = webRtcServerIpInfo.port + ? webRtcServerIpInfo.port + : webRtcServerIpInfo.portRange.min; await checkWebRtcServerPorts(webRtcServerIpAddress, webRtcServerStartPort, workers); }