Update server

This commit is contained in:
Sergiu Toma 2022-11-24 23:56:42 +02:00
parent c862224ead
commit adbcf6c2bc
1 changed files with 1 additions and 0 deletions

1
app.js
View File

@ -458,6 +458,7 @@ peers.on('connection', async socket => {
const callId = socketDetails[socket.id];
console.log(`[consumer-resume] callId ${callId}`)
await videoCalls[callId].consumerVideo.resume();
await videoCalls[callId].consumerAudio.resume();
} catch (error) {
console.log(`ERROR | consumer-resume | callId ${socketDetails[socket.id]} | ${error.message}`);
}