LINXD-2209: Get callId from soekct dictionary in consumer-resume case
This commit is contained in:
parent
2f6c25c171
commit
19808da24e
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