|
@@ -16,7 +16,7 @@
|
|
:use-css-transforms="true"
|
|
:use-css-transforms="true"
|
|
>
|
|
>
|
|
<grid-item v-for="(video, index) in videoGrid" :key="video.id" :id="video.id" :x="video.x" :y="video.y" :w="video.w" :h="video.h" :i="video.i">
|
|
<grid-item v-for="(video, index) in videoGrid" :key="video.id" :id="video.id" :x="video.x" :y="video.y" :w="video.w" :h="video.h" :i="video.i">
|
|
- <v-btn :color="'#282e38'" fab large dark class="v-btn--kick" @click="kickParcitipant(video)" v-show="!video.video.self && user.type == 'associate'">
|
|
|
|
|
|
+ <v-btn :color="'#282e38'" fab large dark class="v-btn--kick" @click="kickParcitipant(video)" v-show="!video.video.self && user.type == 'PRO'">
|
|
<v-icon>mdi-account-remove</v-icon>
|
|
<v-icon>mdi-account-remove</v-icon>
|
|
</v-btn>
|
|
</v-btn>
|
|
</grid-item>
|
|
</grid-item>
|
|
@@ -55,7 +55,6 @@ export default {
|
|
counter: 1,
|
|
counter: 1,
|
|
openTokSession: null,
|
|
openTokSession: null,
|
|
publisher: null,
|
|
publisher: null,
|
|
- screenPublisher: null,
|
|
|
|
subscribers: [],
|
|
subscribers: [],
|
|
publisherReady: false,
|
|
publisherReady: false,
|
|
accessDialogShown: false,
|
|
accessDialogShown: false,
|
|
@@ -82,10 +81,6 @@ export default {
|
|
this.publisherReady = false;
|
|
this.publisherReady = false;
|
|
this.$store.commit("setSessionConnectivityState", false);
|
|
this.$store.commit("setSessionConnectivityState", false);
|
|
this.openTokSession = null;
|
|
this.openTokSession = null;
|
|
- if (this.screenPublisher) {
|
|
|
|
- this.screenPublisher.destroy();
|
|
|
|
- this.screenPublisher = null;
|
|
|
|
- }
|
|
|
|
},
|
|
},
|
|
getToken() {
|
|
getToken() {
|
|
$.ajax({
|
|
$.ajax({
|
|
@@ -226,7 +221,7 @@ export default {
|
|
this.openTokSession.on({
|
|
this.openTokSession.on({
|
|
sessionDisconnected: event => {
|
|
sessionDisconnected: event => {
|
|
if (event.reason === "forceDisconnected") {
|
|
if (event.reason === "forceDisconnected") {
|
|
- alert("You were kicked.");
|
|
|
|
|
|
+ alert("You were kicked out of meeting.");
|
|
this.$store.dispatch("leaveMeeting");
|
|
this.$store.dispatch("leaveMeeting");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -439,7 +434,7 @@ export default {
|
|
if (val) {
|
|
if (val) {
|
|
this.getToken();
|
|
this.getToken();
|
|
} else {
|
|
} else {
|
|
- //this.disconnect(); - causing openTok errors
|
|
|
|
|
|
+ this.disconnect()
|
|
this.loadingInProgress = false;
|
|
this.loadingInProgress = false;
|
|
}
|
|
}
|
|
}
|
|
}
|