From 16284e1ac3faede2b74f0d91b50c0b5612af2c35 Mon Sep 17 00:00:00 2001 From: Igor Monadical Date: Mon, 15 Dec 2025 15:00:53 -0500 Subject: [PATCH] fix: daily video optimisation (#789) Co-authored-by: Igor Loskutov --- www/app/[roomName]/components/DailyRoom.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/www/app/[roomName]/components/DailyRoom.tsx b/www/app/[roomName]/components/DailyRoom.tsx index 45f2dad2..db051cc6 100644 --- a/www/app/[roomName]/components/DailyRoom.tsx +++ b/www/app/[roomName]/components/DailyRoom.tsx @@ -105,7 +105,19 @@ export default function DailyRoom({ meeting }: DailyRoomProps) { } }); - await frame.join({ url: roomUrl }); + await frame.join({ + url: roomUrl, + sendSettings: { + video: { + // Optimize bandwidth for camera video + // allowAdaptiveLayers automatically adjusts quality based on network conditions + allowAdaptiveLayers: true, + // Use bandwidth-optimized preset as fallback for browsers without adaptive support + maxQuality: "medium", + }, + // Note: screenVideo intentionally not configured to preserve full quality for screen shares + }, + }); } catch (error) { console.error("Error creating Daily frame:", error); }