LH-276: Update producer close event handler

This commit is contained in:
Sergiu Toma 2023-02-21 01:53:03 +02:00
parent 0230e668e4
commit c65dcf1729

4
app.js
View File

@ -501,8 +501,8 @@ peers.on('connection', async (socket) => {
}
} else {
try {
videoCalls[callId].receiverConsumerVideo && videoCalls[callId].receiverConsumerVideo.resume();
videoCalls[callId].receiverConsumerAudio && videoCalls[callId].receiverConsumerAudio.resume();
// videoCalls[callId].receiverConsumerVideo && videoCalls[callId].receiverConsumerVideo.resume();
// videoCalls[callId].receiverConsumerAudio && videoCalls[callId].receiverConsumerAudio.resume();
} catch (error) {
console.log('sssss22222', error.message);
}