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 = {