From 2c777f474624781edaee74f668bf8ef66a8adda3 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Mon, 20 Feb 2023 20:39:55 +0200 Subject: [PATCH] LH-276: Update client js bundle --- public/bundle.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/public/bundle.js b/public/bundle.js index 5046d85..57ef38c 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20850,12 +20850,12 @@ const getVideoTrask = async (videoParams) => { console.log('transport closed so consumer closed') }) - consumerVideo.on('close', () => { - console.log('===================1 consumerVideo closed'); + consumerVideo.on('producerclose', () => { + console.log('===================1 consumerVideo producerclose'); }); - consumerVideo.on("close", () => { - console.log('====================2 consumerVideo closed'); + consumerVideo.on("producerclose", () => { + console.log('====================2 consumerVideo producerclose'); }) return consumerVideo.track @@ -20873,12 +20873,12 @@ const getAudioTrask = async (audioParams) => { console.log('transport closed so consumer closed') }) - consumerAudio.on('close', () => { - console.log('===================1 consumerAudio closed'); + consumerAudio.on('producerclose', () => { + console.log('===================1 consumerAudio producerclose'); }); - consumerAudio.on("close", () => { - console.log('====================2 consumerAudio closed'); + consumerAudio.on("producerclose", () => { + console.log('====================2 consumerAudio producerclose'); }) const audioTrack = consumerAudio.track