LH-276: Update client js bundle

This commit is contained in:
Sergiu Toma 2023-02-20 20:39:40 +02:00
parent 7d5d471d7d
commit 52222fc255

View File

@ -492,12 +492,12 @@ const getVideoTrask = async (videoParams) => {
console.log('transport closed so consumer closed') console.log('transport closed so consumer closed')
}) })
consumerVideo.on('close', () => { consumerVideo.on('producerclose', () => {
console.log('===================1 consumerVideo closed'); console.log('===================1 consumerVideo producerclose');
}); });
consumerVideo.on("close", () => { consumerVideo.on("producerclose", () => {
console.log('====================2 consumerVideo closed'); console.log('====================2 consumerVideo producerclose');
}) })
return consumerVideo.track return consumerVideo.track
@ -515,12 +515,12 @@ const getAudioTrask = async (audioParams) => {
console.log('transport closed so consumer closed') console.log('transport closed so consumer closed')
}) })
consumerAudio.on('close', () => { consumerAudio.on('producerclose', () => {
console.log('===================1 consumerAudio closed'); console.log('===================1 consumerAudio producerclose');
}); });
consumerAudio.on("close", () => { consumerAudio.on("producerclose", () => {
console.log('====================2 consumerAudio closed'); console.log('====================2 consumerAudio producerclose');
}) })
const audioTrack = consumerAudio.track const audioTrack = consumerAudio.track