From eb68830e3e19f77cbf6d324e18caf281cb275d13 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Fri, 13 Jan 2023 19:11:56 +0200 Subject: [PATCH] test --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index bc0149f..26972a7 100644 --- a/app.js +++ b/app.js @@ -654,7 +654,7 @@ const consumeAudio = async (callId, socketId, rtpCapabilities) => { const isInitiator = (callId, socketId) => { console.log('===============videoCalls[callId].initiatorSocket.id', videoCalls[callId].initiatorSocket.id); console.log('===============socketId', socketId); - return (videoCalls[callId].initiatorSocket.socket.id === socketId); + return (videoCalls[callId].initiatorSocket.id === socketId); } /*