LH-276: Update client js bundle

This commit is contained in:
Sergiu Toma 2023-02-20 20:36:45 +02:00
parent bdda13e0d5
commit 7d5d471d7d
2 changed files with 32 additions and 0 deletions

View File

@ -20850,6 +20850,14 @@ const getVideoTrask = async (videoParams) => {
console.log('transport closed so consumer closed')
})
consumerVideo.on('close', () => {
console.log('===================1 consumerVideo closed');
});
consumerVideo.on("close", () => {
console.log('====================2 consumerVideo closed');
})
return consumerVideo.track
}
@ -20865,6 +20873,14 @@ const getAudioTrask = async (audioParams) => {
console.log('transport closed so consumer closed')
})
consumerAudio.on('close', () => {
console.log('===================1 consumerAudio closed');
});
consumerAudio.on("close", () => {
console.log('====================2 consumerAudio closed');
})
const audioTrack = consumerAudio.track
audioTrack.applyConstraints({

View File

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