Remove callId from transportClose(from producer)
This commit is contained in:
2
app.js
2
app.js
@ -156,7 +156,7 @@ peers.on('connection', async socket => {
|
||||
|
||||
console.log(`[transport-produce] Producer ID: ${producer.id} | kind: ${producer.kind}`)
|
||||
|
||||
producer.on('transportclose', ({ callId }) => {
|
||||
producer.on('transportclose', () => {
|
||||
console.log('transport for this producer closed')
|
||||
closeRoom();
|
||||
})
|
||||
|
Reference in New Issue
Block a user