Close producer when dispatcher close the window

This commit is contained in:
Sergiu Toma 2022-08-02 19:52:06 +03:00
parent b947318142
commit 222ff46655
1 changed files with 1 additions and 0 deletions

View File

@ -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);