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 }) => {
|
||||
console.log(`[consumer-resume]`)
|
||||
socket.on('consumer-resume', async () => {
|
||||
const callId = socketDetails[socket.id];
|
||||
console.log(`[consumer-resume] callId ${callId}`)
|
||||
await videoCalls[callId].consumer.resume()
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user