diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index 64c3e96..87b6795 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -36,6 +36,7 @@ import { UserChoices } from "../livekit/useLiveKit"; import { findDeviceByName } from "../media-utils"; import { OpenIDLoader } from "../livekit/OpenIDLoader"; import { ActiveCall } from "./InCallView"; +import { Config } from "../config/Config"; declare global { interface Window { @@ -219,7 +220,9 @@ export function GroupCallView({ undefined ); - const livekitServiceURL = groupCall.foci[0]?.livekitServiceUrl; + const livekitServiceURL = + groupCall.foci[0]?.livekitServiceUrl ?? + Config.get().livekit.livekit_service_url; if (!livekitServiceURL) { return ; }