fix: unmute video on audio only switch off

Will unmute local video (and ask for permissions if needed) in case user
started in audio only mode and is turing it off.
This commit is contained in:
paweldomas
2017-07-20 14:29:15 +02:00
parent 00d3d3c09a
commit a5f61714bd
2 changed files with 44 additions and 38 deletions

View File

@@ -36,7 +36,9 @@ function initCommands() {
'display-name':
APP.conference.changeLocalDisplayName.bind(APP.conference),
'toggle-audio': () => APP.conference.toggleAudioMuted(true),
'toggle-video': () => APP.conference.toggleVideoMuted(true),
'toggle-video': () => {
APP.conference.toggleVideoMuted(false /* no UI */);
},
'toggle-film-strip': APP.UI.toggleFilmstrip,
'toggle-chat': APP.UI.toggleChat,
'toggle-contact-list': APP.UI.toggleContactList,