From 8de739f80ff2d3b77c563dac7c0d13bb3a999495 Mon Sep 17 00:00:00 2001 From: Carlo Venusino Date: Mon, 18 Nov 2019 16:24:10 +0100 Subject: [PATCH] TT#47706 Conferencing: As a Customer, I want to mute/unmute each participant separately - Must see a more menu at the top of the ParticipantItem (#70952) - Must be able to mute/unmute the remote audio by opening the more menu and clicking the mute/unmute list item (#70955) - Must see an icon that refelcts the current state in the ParticipantItem (whether muted or unmuted) (#70956) Change-Id: Ibab4bdd9887c1a8ce4e3760c154cefae6b6caab7 --- src/components/CscMedia.vue | 6 ++ .../CscConferenceRemoteParticipant.vue | 89 ++++++++++++++++--- src/locales/en.json | 4 +- src/themes/app.common.styl | 3 +- 4 files changed, 86 insertions(+), 16 deletions(-) diff --git a/src/components/CscMedia.vue b/src/components/CscMedia.vue index 3056648f..8374e668 100644 --- a/src/components/CscMedia.vue +++ b/src/components/CscMedia.vue @@ -164,6 +164,12 @@ else { this.fitMediaToParent(); } + }, + toggleAudio(){ + return this.$refs.media.muted = !this.$refs.media.muted; + }, + isMuted(){ + return this.$refs.media.muted; } }, watch: { diff --git a/src/components/pages/Conference/CscConferenceRemoteParticipant.vue b/src/components/pages/Conference/CscConferenceRemoteParticipant.vue index 5f51925a..14dc25df 100644 --- a/src/components/pages/Conference/CscConferenceRemoteParticipant.vue +++ b/src/components/pages/Conference/CscConferenceRemoteParticipant.vue @@ -2,6 +2,39 @@ +
+ + + + + + + + + + + + + +