This commit is contained in:
Timo K
2026-06-02 13:56:16 +02:00
parent 9117b40e7b
commit c5ffdea370

View File

@@ -57,7 +57,10 @@ import {
} from "../UrlParams"; } from "../UrlParams";
import { E2eeType } from "../e2ee/e2eeType"; import { E2eeType } from "../e2ee/e2eeType";
import { useAudioContext } from "../useAudioContext"; import { useAudioContext } from "../useAudioContext";
import { callEventAudioSounds } from "./CallEventAudioRenderer"; import {
callEventAudioSounds,
type CallEventSounds,
} from "./CallEventAudioRenderer";
import { useLatest } from "../useLatest"; import { useLatest } from "../useLatest";
import { usePageTitle } from "../usePageTitle"; import { usePageTitle } from "../usePageTitle";
import { import {
@@ -117,7 +120,7 @@ export const GroupCallView: FC<Props> = ({
const muteAllAudio = useBehavior(muteAllAudio$); const muteAllAudio = useBehavior(muteAllAudio$);
const leaveSoundContext = useLatest( const leaveSoundContext = useLatest(
useAudioContext({ useAudioContext<CallEventSounds>({
sounds: callEventAudioSounds, sounds: callEventAudioSounds,
latencyHint: "interactive", latencyHint: "interactive",
muted: muteAllAudio, muted: muteAllAudio,