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:
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()
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user