Refactor transportclose 10
This commit is contained in:
parent
1df588bac7
commit
6147d3bede
4
app.js
4
app.js
@ -189,11 +189,11 @@ peers.on('connection', async socket => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
consumer.on('transportclose', () => {
|
consumer.on('transportclose', () => {
|
||||||
console.log('transport close from consumer')
|
console.log('transport close from consumer', callId)
|
||||||
})
|
})
|
||||||
|
|
||||||
consumer.on('producerclose', () => {
|
consumer.on('producerclose', () => {
|
||||||
console.log('producer of consumer closed')
|
console.log('producer of consumer closed', callId)
|
||||||
})
|
})
|
||||||
|
|
||||||
// from the consumer extract the following params
|
// from the consumer extract the following params
|
||||||
|
Loading…
Reference in New Issue
Block a user