@ -40,7 +40,9 @@
v - if = "!isJoining && isJoined"
/ >
< csc -conference -participants
ref = "confParticipants"
v - if = "!isJoining && isJoined"
: is - muted = "isMuted"
/ >
< / div >
@ -113,6 +115,31 @@
@ click = "toggleScreen()"
: disable = "!hasConferenceId || isJoining"
/ >
< q -btn
class = "csc-conf-button"
: color = "screenButtonColor"
icon = "more_vert"
round
: disable = "!hasConferenceId || isJoining"
>
< q -popover
ref = "popover"
: disable = "participantsList.length < 1" >
< q -list
link
class = "no-border"
>
< q -item
@ click = "toggleMuteAll"
>
< q -item -main
: label = "muteLabel()"
/ >
< / q - i t e m >
< / q - l i s t >
< / q - p o p o v e r >
< / q - b t n >
< / div >
< / div >
< csc -confirm -dialog
@ -141,12 +168,17 @@
QBtn ,
QCard ,
QCardMedia ,
QIcon
QIcon ,
QPopover ,
QList ,
QItem ,
QItemMain
} from 'quasar-framework'
import CscConfirmDialog from "../CscConfirmationDialog" ;
export default {
data : function ( ) {
return {
isMuted : false ,
selectedMediaStream : null ,
selectedParticipantName : null
}
@ -165,7 +197,11 @@
QBtn ,
QCard ,
QCardMedia ,
QIcon
QIcon ,
QPopover ,
QList ,
QItem ,
QItemMain
} ,
computed : {
... mapState ( 'conference' , [
@ -255,6 +291,15 @@
this . $store . dispatch ( 'conference/toggleScreen' ) ;
}
} ,
toggleMuteAll ( ) {
this . $refs . popover . close ( ) ;
this . isMuted = ! this . isMuted ;
} ,
muteLabel ( ) {
return this . isMuted
? this . $t ( 'conferencing.unmuteAll' )
: this . $t ( 'conferencing.muteAll' ) ;
} ,
async join ( conferenceId ) {
if ( this . hasConferenceId ) {
await this . $store . dispatch ( 'conference/join' , conferenceId ) ;