From 38b95d52467acf56d8c6ff3d2b706e87a9766a83 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Tue, 29 Nov 2022 02:21:29 +0200 Subject: [PATCH] Update server --- app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index a800147..8c11bdc 100644 --- a/app.js +++ b/app.js @@ -364,7 +364,7 @@ peers.on('connection', async socket => { const callId = socketDetails[socket.id]; console.log('[consume] callId', callId); - console.log('🟠 videoCalls[callId].consumerAudio', videoCalls[callId].consumerAudio); + console.log('🟠 videoCalls[callId].producerAudio', videoCalls[callId].producerAudio); // Check if the router can consume the specified producer if ( @@ -419,6 +419,7 @@ peers.on('connection', async socket => { // console.log('producer of consumer closed', callId); // closeCall(callId); // }); + console.log('🟠 videoCalls[callId].consumerAudio', videoCalls[callId].consumerAudio); // From the consumer extract the following params to send back to the Client const videoParams = {