diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index 73065d36..7c9009fe 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -57,7 +57,10 @@ import { } from "../UrlParams"; import { E2eeType } from "../e2ee/e2eeType"; import { useAudioContext } from "../useAudioContext"; -import { callEventAudioSounds } from "./CallEventAudioRenderer"; +import { + callEventAudioSounds, + type CallEventSounds, +} from "./CallEventAudioRenderer"; import { useLatest } from "../useLatest"; import { usePageTitle } from "../usePageTitle"; import { @@ -117,7 +120,7 @@ export const GroupCallView: FC = ({ const muteAllAudio = useBehavior(muteAllAudio$); const leaveSoundContext = useLatest( - useAudioContext({ + useAudioContext({ sounds: callEventAudioSounds, latencyHint: "interactive", muted: muteAllAudio,