From 662048e23d0d772f4a31a898121e117245bef8cb Mon Sep 17 00:00:00 2001 From: lukasIO Date: Thu, 16 Oct 2025 10:25:55 +0200 Subject: [PATCH] 'security' --- app/custom/VideoConferenceClientImpl.tsx | 2 +- app/rooms/[roomName]/PageClientImpl.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/custom/VideoConferenceClientImpl.tsx b/app/custom/VideoConferenceClientImpl.tsx index 1205205..9e74d4b 100644 --- a/app/custom/VideoConferenceClientImpl.tsx +++ b/app/custom/VideoConferenceClientImpl.tsx @@ -43,7 +43,7 @@ export function VideoConferenceClientImpl(props: { worker, } : undefined, - singlePeerConnection: location.origin.includes('meet.staging.livekit.io'), + singlePeerConnection: location.origin.startsWith('meet.staging.livekit.io'), }; }, [e2eeEnabled, props.codec, keyProvider, worker]); diff --git a/app/rooms/[roomName]/PageClientImpl.tsx b/app/rooms/[roomName]/PageClientImpl.tsx index 4e44a64..e371693 100644 --- a/app/rooms/[roomName]/PageClientImpl.tsx +++ b/app/rooms/[roomName]/PageClientImpl.tsx @@ -129,7 +129,7 @@ function VideoConferenceComponent(props: { adaptiveStream: true, dynacast: true, e2ee: keyProvider && worker && e2eeEnabled ? { keyProvider, worker } : undefined, - singlePeerConnection: location.origin.includes('meet.staging.livekit.io'), + singlePeerConnection: location.origin.startsWith('meet.staging.livekit.io'), }; }, [props.userChoices, props.options.hq, props.options.codec]);