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: Hides remote video in 1:1 when toolbar is visible.

damenchof9ee2cfcec07
diff --git a/react/features/filmstrip/functions.web.ts b/react/features/filmstrip/functions.web.ts
index 3ce1891829..64c709944f 100644
--- a/react/features/filmstrip/functions.web.ts
+++ b/react/features/filmstrip/functions.web.ts
@@ -2,7 +2,7 @@ import { Theme } from '@mui/material/styles';
import { IReduxState } from '../app/types';
import { IStateful } from '../base/app/types';
-import { isTouchDevice, shouldEnableResize } from '../base/environment/utils';
+import { isMobileBrowser, isTouchDevice, shouldEnableResize } from '../base/environment/utils';
import { MEDIA_TYPE } from '../base/media/constants';
import {
getLocalParticipant,
@@ -96,7 +96,7 @@ export function shouldRemoteVideosBeVisible(state: IReduxState) {
// show and the local video is pinned, or the toolbar is displayed.
|| (participantCount > 1
&& disable1On1Mode !== null
- && (state['features/toolbox'].visible
+ && ((!isMobileBrowser() && state['features/toolbox'].visible)
|| ((pinnedParticipant = getPinnedParticipant(state))
&& pinnedParticipant.local)))