Close producer when dispatcher close the window
This commit is contained in:
parent
b947318142
commit
222ff46655
@ -61,6 +61,7 @@ if (IS_PRODUCER === true) {
|
||||
}
|
||||
|
||||
if (parsedData.type === 'notify-end') {
|
||||
// NOT WORKING
|
||||
localVideo.srcObject = null
|
||||
remoteVideo.srcObject = null
|
||||
console.log('[VIDEO] notify-end | IS_PRODUCER', IS_PRODUCER, 'callId', callId);
|
||||
|
Loading…
Reference in New Issue
Block a user