add autoconnect for WebRTC.

This commit is contained in:
Miroslav Šedivý 2021-05-09 23:26:01 +02:00
parent 487114b3c8
commit 0bc57d550a

View File

@ -422,7 +422,7 @@
Vue.set(this.state.connection, 'websocket', 'connected')
this.events.emit('connection.websocket', 'connected')
if (!this.watching) {
if (!this.watching && this.autoconnect) {
this.webrtcConnect()
}
})