diff --git a/app.js b/app.js index f5e4264..82b7682 100644 --- a/app.js +++ b/app.js @@ -446,8 +446,8 @@ peers.on('connection', async socket => { */ socket.on('consumer-resume',() => { try { - console.log(`[consumer-resume] callId ${callId}`) const callId = socketDetails[socket.id]; + console.log(`[consumer-resume] callId ${callId}`) if (isInitiator(callId, socket.id)) { videoCalls[callId]?.initiatorConsumerVideo?.resume(); videoCalls[callId]?.initiatorConsumerAudio?.resume();