From 434c8f744ceed718766ea45de04563cc4f0b7473 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Thu, 15 Sep 2022 09:35:35 +0300 Subject: [PATCH] LINXD-2209: Correctly set router to videoCalls --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 7140d82..7d34e75 100644 --- a/app.js +++ b/app.js @@ -101,7 +101,7 @@ const mediaCodecs = [ const getRtpCapabilities = (callId, callback) => { console.log('[getRtpCapabilities] callId', callId); - const rtpCapabilities = videoCalls[callId].router.rtpCapabilities; + const rtpCapabilities = videoCalls[callId] = { router: rtpCapabilities }; callback({ rtpCapabilities }); }