Skip to content

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

[iOS] Fix incorrect call to setAudioMuted in CallKit

Saúl Ibarra Corretgé28861c00547d
diff --git a/react/features/mobile/callkit/middleware.js b/react/features/mobile/callkit/middleware.js
index 59e49e573e..18cf6646bb 100644
--- a/react/features/mobile/callkit/middleware.js
+++ b/react/features/mobile/callkit/middleware.js
@@ -21,7 +21,6 @@ import {
MEDIA_TYPE,
SET_AUDIO_MUTED,
SET_VIDEO_MUTED,
- VIDEO_MUTISM_AUTHORITY,
isVideoMutedByAudioOnly,
setAudioMuted
} from '../../base/media';
@@ -297,8 +296,7 @@ function _onPerformSetMutedCallAction({ callUUID, muted: newValue }) {
const value = Boolean(newValue);
sendAnalytics(createTrackMutedEvent('audio', 'callkit', value));
- dispatch(setAudioMuted(
- value, VIDEO_MUTISM_AUTHORITY.USER, /* ensureTrack */ true));
+ dispatch(setAudioMuted(value, /* ensureTrack */ true));
}
}
}