LH-276: Update producer close event handler

This commit is contained in:
Sergiu Toma 2023-02-21 01:57:06 +02:00
parent 7ec9f4ebde
commit a214f4384e

4
app.js
View File

@ -502,8 +502,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);
}