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