2
2
mirror of https://github.com/m1k1o/neko.git synced 2024-07-24 14:40:50 +12:00

add autoconnect for WebRTC.

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

@ -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()
}
})