Merge pull request #1940 from jitsi/fix_aot

fix(external_api): isAudioMuted and isVideoMuted
This commit is contained in:
Saúl Ibarra Corretgé 2017-08-29 00:26:21 +02:00 committed by GitHub
commit 9559df1b13
1 changed files with 2 additions and 2 deletions

View File

@ -75,10 +75,10 @@ function initCommands() {
transport.on('request', ({ data, name }, callback) => {
switch (name) {
case 'is-audio-muted':
callback(APP.conference.audioMuted);
callback(APP.conference.isLocalAudioMuted());
break;
case 'is-video-muted':
callback(APP.conference.videoMuted);
callback(APP.conference.isLocalVideoMuted());
break;
case 'is-audio-available':
callback(audioAvailable);