Open source video conferencing app powered by LiveKit. Built with Django and React.
🚸(frontend) avoid displaying the effects option when not optimal
lebaudantoinebbc2b1d9f694
diff --git a/src/frontend/src/features/rooms/components/Join.tsx b/src/frontend/src/features/rooms/components/Join.tsxindex 64e890bc..d352f376 100644--- a/src/frontend/src/features/rooms/components/Join.tsx+++ b/src/frontend/src/features/rooms/components/Join.tsx@@ -19,6 +19,7 @@ import {} from '../livekit/components/effects/EffectsConfiguration'import { usePersistentUserChoices } from '../livekit/hooks/usePersistentUserChoices'import { BackgroundBlurFactory } from '../livekit/components/blur'+import { isMobileBrowser } from '@livekit/components-core'const onError = (e: Error) => console.error('ERROR', e)@@ -30,6 +31,10 @@ const Effects = ({const [isDialogOpen, setIsDialogOpen] = useState(false)const openDialog = () => setIsDialogOpen(true)+ if (!BackgroundBlurFactory.isSupported() || isMobileBrowser()) {+ return+ }+return (<><Dialog