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
1 changed files with 2 additions and 2 deletions

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);
}