Revert mute-reset behavior (#369)

I have a hunch this is causing more problems than it fixes.

Signed-off-by: Paul R. Tagliamonte <paul@kittycad.io>
This commit is contained in:
Paul Tagliamonte
2023-08-31 22:57:58 -04:00
committed by GitHub
parent 848bf61277
commit ff1be34f54

View File

@ -663,8 +663,8 @@ export class EngineCommandManager {
mediaStream.getVideoTracks()[0].addEventListener('mute', () => {
console.log('peer is not sending video to us')
this.engineConnection?.close()
this.engineConnection?.connect()
// this.engineConnection?.close()
// this.engineConnection?.connect()
})
setMediaStream(mediaStream)