|
|
@ -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; |
|
|
|