fixed: stop button was not hidden when screen sharing aborted

pull/17/head
Tuğrul Gençoğlu 5 years ago
parent a489b46679
commit 3ccb00031c
  1. 3
      src/lib/VueJanus.vue

@ -194,6 +194,8 @@
}
},
onlocalstreamScreen (stream) {
if(!this.screenShareStarted)
this.screenShareStarted=true;
this.$refs.ownstreamscreen.srcObject = stream
},
shareScreenStart (capture) {
@ -211,7 +213,6 @@
onlocalstream: this.onlocalstreamScreen
}
)
this.screenShareStarted=true;
},
screenShareStop(){
var srcObject=this.$refs.ownstreamscreen.srcObject;

Loading…
Cancel
Save