From 3ca555ef9ef3ed3557052e765bee68779313d338 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Tue, 13 Dec 2022 13:23:15 +0200 Subject: [PATCH] Set initiatorSocketId to be dispatcher --- app.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app.js b/app.js index 4115016..5f82515 100644 --- a/app.js +++ b/app.js @@ -453,10 +453,6 @@ const consumeAudio = async (callId, rtpCapabilities) => { console.log('producer of consumer closed', callId); closeCall(callId); }); - - if(isInitiator(callId, sockId)) { - - } return { id: videoCalls[callId].consumerAudio.id, producerId: videoCalls[callId].producerAudio.id,