WebRTC disconnect on URL switching.

This commit is contained in:
Miroslav Šedivý 2021-03-25 14:14:56 +01:00
parent 86d9e769f2
commit 6496e7e229

View File

@ -184,6 +184,10 @@
this.websocket.disconnect(new Error('url changed'))
}
if (this.watching) {
this.webrtc.disconnect()
}
if (this.authenticated) {
Vue.set(this.state.connection, 'authenticated', false)
}