LINXD-2209-black-screen-when-2-video-calls-are-answered-simultaneously #3
5
app.js
5
app.js
@ -241,8 +241,9 @@ peers.on('connection', async socket => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
socket.on('consumer-resume', async ({ callId }) => {
|
socket.on('consumer-resume', async () => {
|
||||||
console.log(`[consumer-resume]`)
|
const callId = socketDetails[socket.id];
|
||||||
|
console.log(`[consumer-resume] callId ${callId}`)
|
||||||
await videoCalls[callId].consumer.resume()
|
await videoCalls[callId].consumer.resume()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user