From f5dfe8238819aa40b657415ae0e022f501270601 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Thu, 11 Nov 2021 21:33:25 +0100 Subject: [PATCH] [mirotalksfu] - update mediasoup --- app/src/Server.js | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/Server.js b/app/src/Server.js index 401af64..fe2add7 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -28,6 +28,7 @@ const options = { const httpsServer = https.createServer(options, app); const io = require('socket.io')(httpsServer); const host = 'https://' + 'localhost' + ':' + config.listenPort; // config.listenIp +const announcedIP = config.mediasoup.webRtcTransport.listenIps[0].announcedIp; const apiBasePath = '/api/v1'; // api endpoint path const api_docs = host + apiBasePath + '/docs'; // api docs @@ -150,6 +151,7 @@ async function ngrokStart() { let pu1 = data.tunnels[1].public_url; let tunnel = pu0.startsWith('https') ? pu0 : pu1; log.debug('Listening on', { + announced_ip: announcedIP, server: host, tunnel: tunnel, api_docs: api_docs, @@ -185,6 +187,7 @@ httpsServer.listen(config.listenPort, () => { return; } log.debug('Listening on', { + announced_ip: announcedIP, server: host, api_docs: api_docs, mediasoup_version: mediasoup.version, diff --git a/package.json b/package.json index afccb9d..1937020 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "cors": "2.8.5", "express": "4.17.1", "httpolyglot": "0.1.2", - "mediasoup": "3.9.1", + "mediasoup": "3.9.2", "mediasoup-client": "3.6.43", "ngrok": "4.2.2", "socket.io": "4.3.2",