Update server

This commit is contained in:
Sergiu Toma 2022-11-24 23:30:27 +02:00
parent 21dffefa8c
commit 3387a362a6

2
app.js
View File

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