From 8aa035ae00f79466d296ebf459a94fce9f5a7ada Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Mon, 15 Sep 2025 14:56:53 +0200 Subject: [PATCH] =?UTF-8?q?=E2=8F=AA=EF=B8=8F(frontend)=20revert=20dynacas?= =?UTF-8?q?t=20and=20adaptive=20streaming=20checks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Revert recent changes to dynacast and adaptive streaming functionality to isolate potential causes of regression issues. Changes will be reintroduced in future commits with improved error handling and thorough investigation of root causes. --- .../src/features/rooms/components/Conference.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/frontend/src/features/rooms/components/Conference.tsx b/src/frontend/src/features/rooms/components/Conference.tsx index 1adc8f46..1b5dff43 100644 --- a/src/frontend/src/features/rooms/components/Conference.tsx +++ b/src/frontend/src/features/rooms/components/Conference.tsx @@ -10,8 +10,6 @@ import { MediaDeviceFailure, Room, RoomOptions, - supportsAdaptiveStream, - supportsDynacast, VideoPresets, } from 'livekit-client' import { keys } from '@/api/queryKeys' @@ -87,13 +85,10 @@ export const Conference = ({ retry: false, }) - const isAdaptiveStreamSupported = supportsAdaptiveStream() - const isDynacastSupported = supportsDynacast() - const roomOptions = useMemo((): RoomOptions => { return { - adaptiveStream: isAdaptiveStreamSupported, - dynacast: isDynacastSupported, + adaptiveStream: true, + dynacast: true, publishDefaults: { videoCodec: 'vp9', }, @@ -116,8 +111,6 @@ export const Conference = ({ userConfig.videoPublishResolution, userConfig.audioDeviceId, userConfig.audioOutputDeviceId, - isAdaptiveStreamSupported, - isDynacastSupported, ]) const room = useMemo(() => new Room(roomOptions), [roomOptions])