diff --git a/src/lib/VueJanus.vue b/src/lib/VueJanus.vue
index 7801da1..d08e7c4 100644
--- a/src/lib/VueJanus.vue
+++ b/src/lib/VueJanus.vue
@@ -107,6 +107,7 @@
direction="top"
open-on-hover
>
+
mdi-cog-outline
-
- mdi-pdf-box
-
- mdi-compare
-
-
- mdi-camera-outline
-
-
- mdi-monitor-screenshot
-
+
+
+
+
+ mdi-pdf-box
+
+
+
+ Toggle Share PDF
+
+
+
+
+
+ mdi-compare
+
+
+
+ Toggle Theme
+
+
+
+
+
+ mdi-camera-outline
+
+
+
+ Toggle Camera
+
+
+
+
+
+ mdi-monitor-screenshot
+
+
+
+ Toggle Share Screen
+
@@ -246,7 +280,7 @@
},
onlocalstreamScreen (stream) {
if(this.screenShareStarted)
- this.screenShareStarted=false;
+ this.screenShareStarted=true;
this.$refs.ownstreamscreen.srcObject = stream
},
@@ -272,7 +306,9 @@
onlocalstream: this.onlocalstreamScreen
}
)
- this.screenShareStarted=true;
+
+ this.mozillaAlert=false;
+ this.chromeAlert=false;
},
screenShareStop(){
var srcObject=this.$refs.ownstreamscreen.srcObject;
@@ -282,6 +318,8 @@
var unpublish = { request: 'unpublish' };
this.janusScreenShareHandle.send({ message: unpublish });
this.janusScreenShareHandle.detach();
+
+ this.screenShareStarted=false;
},
screenShare () {
if(!this.$janus.isExtensionEnabled()) {