From 7c60cca1715d94146ae95d05ea0ec3cf9af39ef6 Mon Sep 17 00:00:00 2001 From: IceDBorn Date: Sat, 25 Mar 2023 07:54:40 +0200 Subject: [PATCH] Disable unused jitsi options --- src/app/organisms/room/JitsiRoom.jsx | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/app/organisms/room/JitsiRoom.jsx b/src/app/organisms/room/JitsiRoom.jsx index 909cebf3..f91b2360 100644 --- a/src/app/organisms/room/JitsiRoom.jsx +++ b/src/app/organisms/room/JitsiRoom.jsx @@ -99,6 +99,22 @@ function JitsiRoom({ isJitsiRoom, setIsJitsiRoom, jitsiCallId, setJitsiCallId }) disablePolls: true, prejoinConfig: { enabled: false }, liveStreaming: { enabled: false }, + maxFullResolutionParticipants: 1, + startWithVideoMuted: true, + disableProfile: true, + toolbarButtons: [ + 'camera', + 'desktop', + 'fullscreen', + 'invite', + 'microphone', + 'noisesuppression', + 'settings', + 'sharedvideo', + 'shortcuts', + 'tileview', + 'videoquality' + ], constraints: { video: { @@ -133,7 +149,7 @@ function JitsiRoom({ isJitsiRoom, setIsJitsiRoom, jitsiCallId, setJitsiCallId }) resolution: 1080, }} interfaceConfigOverwrite={{ - DISABLE_JOIN_LEAVE_NOTIFICATIONS: true, + DISABLE_JOIN_LEAVE_NOTIFICATIONS: true }} userInfo={{ displayName: getUsername(mx.getUserId()),