From 31e22d6a793692ce68c09cd176910338317ddd2e Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Mon, 25 Mar 2024 21:25:35 +0100 Subject: [PATCH] [mirotalksfu] - fix typo --- app/src/scripts/bindable.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/scripts/bindable.js b/app/src/scripts/bindable.js index a34bb02d..205c7b43 100644 --- a/app/src/scripts/bindable.js +++ b/app/src/scripts/bindable.js @@ -40,10 +40,10 @@ async function main() { const rtcMaxPort = config.mediasoup.worker.rtcMaxPort; console.log('=================================='); - console.log('checkServerIsBindable'); + console.log('checkServerListenPorts'); console.log('=================================='); - await checkServerIsBindable(serverListenIp, serverListenPort); + await checkServerListenPorts(serverListenIp, serverListenPort); console.log('=================================='); console.log('checkWebRtcTransportPorts'); @@ -67,11 +67,11 @@ async function main() { } /** - * Check if Server port is bindable - * @param {string} ipAddress - * @param {integer} port + * Check if Server listen port is bindable + * @param {string} ipAddress + * @param {integer} port */ -async function checkServerIsBindable(ipAddress, port){ +async function checkServerListenPorts(ipAddress, port) { const bindable = await isBindable(ipAddress, port); if (bindable) { console.log(`${ipAddress}:${port} is bindable 🟢`);