diff --git a/app.js b/app.js index 7e27ae9..37f3305 100644 --- a/app.js +++ b/app.js @@ -457,7 +457,7 @@ peers.on('connection', async socket => { try { const callId = socketDetails[socket.id]; console.log(`[consumer-resume] callId ${callId}`) - await videoCalls[callId].consumer.resume(); + await videoCalls[callId].consumerVideo.resume(); } catch (error) { console.log(`ERROR | consumer-resume | callId ${socketDetails[socket.id]} | ${error.message}`); }