From ed7feaecd5e99775a1712792dcf7a1f68e7a3de4 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Fri, 13 Jan 2023 18:51:47 +0200 Subject: [PATCH] test --- app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.js b/app.js index 01b3380..8b3a93e 100644 --- a/app.js +++ b/app.js @@ -196,8 +196,10 @@ peers.on('connection', async socket => { videoCalls[callId] = { router: await worker.createRouter({ mediaCodecs }) }; console.log(`[createRoom] Router ID: ${videoCalls[callId].router.id}`); videoCalls[callId].receiverSocket = socket; + console.log('🟦 videoCalls[callId].initiatorSocket', videoCalls[callId].receiverSocket) } else { videoCalls[callId].initiatorSocket = socket; + console.log('🟦 videoCalls[callId].initiatorSocket', videoCalls[callId].initiatorSocket) } socketDetails[socket.id] = callId; // rtpCapabilities is set for callback