mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
ignore if no video after webrtc destroying.
This commit is contained in:
parent
cab53d7d17
commit
5bdd5fc54b
@ -357,6 +357,8 @@
|
||||
Vue.set(this.state.connection, 'webrtc', 'disconnected')
|
||||
this.events.emit('internal.webrtc', 'disconnected')
|
||||
|
||||
if (!this._video) return
|
||||
|
||||
// destroy stream
|
||||
if ('srcObject' in this._video) {
|
||||
this._video.srcObject = null
|
||||
|
Loading…
Reference in New Issue
Block a user