fix(API): early audio muted status

Apply the same early audio muted logic as for the video.
This commit is contained in:
paweldomas
2017-07-25 12:05:08 +02:00
committed by yanas
parent d2e8b13add
commit e818fa1e9e
2 changed files with 56 additions and 32 deletions

View File

@@ -35,7 +35,9 @@ function initCommands() {
commands = {
'display-name':
APP.conference.changeLocalDisplayName.bind(APP.conference),
'toggle-audio': () => APP.conference.toggleAudioMuted(true),
'toggle-audio': () => {
APP.conference.toggleAudioMuted(false /* no UI */);
},
'toggle-video': () => {
APP.conference.toggleVideoMuted(false /* no UI */);
},