LH-276: Update producer close event handler

This commit is contained in:
Sergiu Toma 2023-02-21 00:56:46 +02:00
parent cf6725dec4
commit d1086f9ec0

View File

@ -106,7 +106,7 @@ setTimeout(() => {
consumerVideo.close() consumerVideo.close()
remoteVideo.srcObject = null remoteVideo.srcObject = null
} }
else if (king === 'audio') consumerAudio.close() else if (kind === 'audio') consumerAudio.close()
}) })
} }