Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🩹(frontend) disable Safari speaker select for LiveKit compatibility

lebaudantoine9b44ed097419
diff --git a/src/frontend/src/features/rooms/components/Join.tsx b/src/frontend/src/features/rooms/components/Join.tsx
index d6c63235..3258bb85 100644
--- a/src/frontend/src/features/rooms/components/Join.tsx
+++ b/src/frontend/src/features/rooms/components/Join.tsx
@@ -31,6 +31,7 @@ import { openPermissionsDialog, permissionsStore } from '@/stores/permissions'
import { ToggleDevice } from './join/ToggleDevice'
import { SelectDevice } from './join/SelectDevice'
import { useResolveDefaultDeviceId } from '../livekit/hooks/useResolveDefaultDevice'
+import { isSafari } from '@/utils/livekit'
const onError = (e: Error) => console.error('ERROR', e)
@@ -601,17 +602,19 @@ export const Join = ({
onSubmit={saveAudioInputDeviceId}
/>
</div>
- <div
- className={css({
- width: '30%',
- })}
- >
- <SelectDevice
- kind="audiooutput"
- id={audioOutputDeviceId}
- onSubmit={saveAudioOutputDeviceId}
- />
- </div>
+ {!isSafari() && (
+ <div
+ className={css({
+ width: '30%',
+ })}
+ >
+ <SelectDevice
+ kind="audiooutput"
+ id={audioOutputDeviceId}
+ onSubmit={saveAudioOutputDeviceId}
+ />
+ </div>
+ )}
<div
className={css({
width: '30%',