fixed: stop button was not hidden when screen sharing aborted

remotes/1693055611791853845/master
Tuğrul Gençoğlu 5 years ago
parent a489b46679
commit 3ccb00031c
  1. 3
      src/lib/VueJanus.vue

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

Loading…
Cancel
Save