Refactor transportclose 10

This commit is contained in:
Sergiu Toma 2022-08-11 14:22:28 +03:00
parent 1df588bac7
commit 6147d3bede

4
app.js
View File

@ -189,11 +189,11 @@ peers.on('connection', async socket => {
})
consumer.on('transportclose', () => {
console.log('transport close from consumer')
console.log('transport close from consumer', callId)
})
consumer.on('producerclose', () => {
console.log('producer of consumer closed')
console.log('producer of consumer closed', callId)
})
// from the consumer extract the following params