Merge branch 'livekit' into toger5/view-model-call-footer-example

This commit is contained in:
Timo K
2026-05-20 16:28:04 +02:00
5 changed files with 96 additions and 52 deletions

View File

@@ -1344,6 +1344,10 @@ export function createCallViewModel$(
// Layout is edge-to-edge; show/hide the footer in response to interactions
return windowMode$.pipe(
switchMap((mode) => {
if (mode === "pip" && platform !== "desktop") {
// No controls are shown in mobile pip as interactions are disabled
return of(false);
}
const showInitially = mode !== "flat";
const timeout$ = mode === "flat" ? timer(showFooterMs) : NEVER;