From 25a76c343b49c78a8bab3d5d67e0aa6b712bb3ff Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Tue, 13 Sep 2022 20:59:12 +0300 Subject: [PATCH] LINXD-2209: Move getRtpCapa outside of room creation --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 92b5259..d3f4aea 100644 --- a/app.js +++ b/app.js @@ -126,8 +126,8 @@ const mediaCodecs = [ router[callId] = await worker.createRouter({ mediaCodecs }) console.log(`[createRoom] Router ID: ${router[callId].id}`) console.log('🟡 router', router); - getRtpCapabilities(callId, callback) } + getRtpCapabilities(callId, callback) } }, 4000);