Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(external_api): isAudioMuted and isVideoMuted

hristoterezovf93c1b5748dc
diff --git a/modules/API/API.js b/modules/API/API.js
index b4928b3e23..742462a6b8 100644
--- a/modules/API/API.js
+++ b/modules/API/API.js
@@ -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);