|
@@ -88,6 +88,7 @@ import { isScreenshotCaptureEnabled } from '../../react/features/screenshot-capt
|
88
|
88
|
import { playSharedVideo, stopSharedVideo } from '../../react/features/shared-video/actions.any';
|
89
|
89
|
import { extractYoutubeIdOrURL } from '../../react/features/shared-video/functions';
|
90
|
90
|
import { toggleRequestingSubtitles, setRequestingSubtitles } from '../../react/features/subtitles/actions';
|
|
91
|
+import { isAudioMuteButtonDisabled } from '../../react/features/toolbox/functions';
|
91
|
92
|
import { toggleTileView, setTileView } from '../../react/features/video-layout';
|
92
|
93
|
import { muteAllParticipants } from '../../react/features/video-menu/actions';
|
93
|
94
|
import { setVideoQuality } from '../../react/features/video-quality';
|
|
@@ -700,6 +701,9 @@ function initCommands() {
|
700
|
701
|
case 'is-audio-muted':
|
701
|
702
|
callback(APP.conference.isLocalAudioMuted());
|
702
|
703
|
break;
|
|
704
|
+ case 'is-audio-disabled':
|
|
705
|
+ callback(isAudioMuteButtonDisabled(APP.store.getState()));
|
|
706
|
+ break;
|
703
|
707
|
case 'is-moderation-on': {
|
704
|
708
|
const { mediaType } = request;
|
705
|
709
|
const type = mediaType || MEDIA_TYPE.AUDIO;
|