LH-276: Update client js bundle
This commit is contained in:
parent
51cf3534a1
commit
4b9987efe8
@ -20460,7 +20460,10 @@ setTimeout(() => {
|
||||
|
||||
socket.on('close-producer', ({ callId, kind }) => {
|
||||
console.log(`🔴 close-producer | callId: ${callId} | kind: ${kind}`);
|
||||
if (kind === 'video') consumerVideo.close()
|
||||
if (kind === 'video') {
|
||||
consumerVideo.close()
|
||||
remoteVideo.srcObject = null
|
||||
}
|
||||
else if (king === 'audio') consumerAudio.close()
|
||||
})
|
||||
}
|
||||
|
@ -102,7 +102,10 @@ setTimeout(() => {
|
||||
|
||||
socket.on('close-producer', ({ callId, kind }) => {
|
||||
console.log(`🔴 close-producer | callId: ${callId} | kind: ${kind}`);
|
||||
if (kind === 'video') consumerVideo.close()
|
||||
if (kind === 'video') {
|
||||
consumerVideo.close()
|
||||
remoteVideo.srcObject = null
|
||||
}
|
||||
else if (king === 'audio') consumerAudio.close()
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user