From 6147d3bedeb5e43c5fbcb15636314746a4b1a8ed Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Thu, 11 Aug 2022 14:22:28 +0300 Subject: [PATCH] Refactor transportclose 10 --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 653f4cb..ddaac56 100644 --- a/app.js +++ b/app.js @@ -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