Remove callback with producer id from transport-produce
This commit is contained in:
parent
ba5add489d
commit
0af7ddd786
4
app.js
4
app.js
@ -192,7 +192,9 @@ peers.on('connection', async socket => {
|
||||
|
||||
consumer.on('transportclose', () => {
|
||||
console.log('transport close from consumer', callId)
|
||||
// closeRoom(callId)
|
||||
|
||||
// https://mediasoup.org/documentation/v3/mediasoup/api/#router-close
|
||||
router[callId].close()
|
||||
delete router[callId]
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user