LINXD-2209-black-screen-when-2-video-calls-are-answered-simultaneously #3

Merged
sergiu merged 31 commits from LINXD-2209-black-screen-when-2-video-calls-are-answered-simultaneously into master 2022-09-15 14:49:55 +00:00
Showing only changes of commit 19808da24e - Show all commits

5
app.js
View File

@ -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()
}) })
}) })