Overview
Tuturuuu Meet ships a native Flutter call implementation inapps/mobile/lib/features/meet/** backed by Cloudflare SFU (flutter_webrtc), the apps/meet-realtime room Durable Object WebSocket, Bearer-auth API routes under apps/web/src/app/api/v1/workspaces/[wsId]/meetings/**, and a nonce-authenticated InAppWebView collaboration bridge (apps/meet/src/features/call/components/native-collaboration.tsx).
Web Meet (packages/meet-core/src/features/call/**, apps/meet/**, packages/realtime/src/meet/**) covers a broader set of classroom, engagement, AI, moderation, and guest-join workflows. This document records the current parity matrix, defines a shell-compliant mobile Meet concept aligned with AGENTS.md and apps/mobile/AGENTS.md, and sequences delivery into eight implementation slices.
Parity summary
Secondary web-only tools outside the 20 core rows (
live-icebreaker, live-game, forms, breakouts under packages/meet-core/src/features/call/tools/live-activities/** and packages/realtime/src/meet/room-forms.ts, room-breakouts.ts) are also absent on mobile and follow the Activities Hub pattern defined in Slices 6–7.
Web vs. Mobile Parity Matrix
Mobile Meet Experience Concept
Current shell compliance gaps
AGENTS.md and apps/mobile/AGENTS.md establish four hard shell invariants for Flutter routes inside ShellPage:
- Single top navbar: Shell-contained screens inherit the shell background, top navbar title/actions, and header clearance, with no Back button in any top navbar.
- Floating bottom navbar owns Back: In-app Back lives exclusively in the shell’s floating dock (
ShellDockBackZone) and deduped Android system Back (ShellPage._handleBackNavigation). - No duplicate app bars or inner top
SafeArea: Never stack a nestedAppBar, body topbar, or second topSafeAreainside the shell body. - Dock clearance & root-navigator boundary: Scrollable and pinned body content consumes shell-provided bottom
MediaQuery.paddingOf(context).bottomclearance; explicit full-screen or canvas-owned flows open above the shell on the root navigator.
apps/mobile/lib/features/meet/view/meet_native_room_page.dartmounts an innerScaffold+SafeArea+MeetRoomContentHeaderbelow the shell top navbar, producing a duplicate topbar and double top safe-area inset.- Its active-call
GridView.builderand bottom controlWrapignore shell-provided bottomMediaQueryclearance, creating overlap with the floating bottom dock. apps/mobile/lib/features/meet/view/meet_collaboration_page.dartopens withNavigator.of(context).pushand renders a nestedScaffold(appBar: AppBar(...))inside the shell instead of opening above the shell on the root navigator.
Target shell architecture
1. Meetings Hub (Routes.meet)
- Top navbar (shell-owned): Title
Meet;ShellChromeActionsregistersNew meeting(in-dock primary on compact phones),Join by code / QR(opens code entry +mobile_scannersheet),Search, andRefresh. - Floating bottom navbar (shell-owned):
ShellMiniNavprovides leading Back (Routes.apps) and the Meet root destination. - Body:
AppPageListView(kind: AppPageKind.root)inherits the shell background and floating-dock bottom clearance. Meeting cards include quickJoin,Share,Edit, andDeleteactions.
2. Pre-Join Lobby & Ended Review (Routes.meet?room=<code>)
- Top navbar (shell-owned):
ShellTitleOverridesets the room title and optional status subtitle (such asWaiting for hostorCall ended). No innerScaffold, noMeetRoomContentHeader, and no inner topSafeArea. - Floating bottom navbar (shell-owned):
ShellChromeActions(onBack: _leave)keeps Back inShellDockBackZoneand Android system Back. - Body: Responsive lobby layout (
AppPageListViewon phones, two-column split on tablets) showing self video preview, mic/camera/audio-route toggles, editable display name (or guest name + Turnstile challenge), and primaryJoinbutton with full bottom dock clearance. Ended Review keepsAppPageListViewfor notes, transcript, recording playback, follow-up actions, rating, and costs.
3. Active Call Stage (Routes.meet?room=<code>, admitted)
- Single top navbar (shell-owned):
ShellTitleOverrideowns the room title (editable inline viaonTitleSubmittedfor hosts), live subtitle (remaining time + active recording/Room Mira indicator), andshowAvatar: false.ShellChromeActions.actionsowns compact trailing actions: Participants (with waiting-room badge), Share/QR, and Settings. No top-bar Back button and no body topbar.
- Single floating bottom navbar (shell-owned
ShellDockActionGroup):- Published through
ShellChromeActions(actionGroup: ..., onBack: _leave)so Meet reuses the shell’s single floating dock material and geometry without mounting a second control bar. - Leading Back zone (
ShellDockBackZone): Owned by the floating dock; triggers host leave/end sheet or participant leave. - Center dock pill (
actions): Four high-frequency controls — Microphone, Camera, Chat & Mira (with unread/review badge), and Activities (with active-tool badge), plus the shell-managed More button. - Trailing primary circle (
primary): Leave / End call (destructive: true), swapping to Stop sharing while screen capture is active so stopping capture stays one tap away. - Dock More sheet (
moresections):- Media: Switch camera, Audio output route, Share screen, Room Mira voice audio, Notification sound.
- Interaction: Raise hand, Reactions, Pinned Join QR, Follow & Summon.
- Room: Recording start/stop, Call settings, Estimated costs.
- Published through
- Stage viewport & clearance:
- Modeled on
MeetPhoneCallLayout(packages/meet-core/src/features/call/components/meet-phone-call-layout.tsx): primary spotlight tile (active speaker or remote shared screen), draggable 104dp self-PiP corner tile, and a compact horizontal secondary strip (next participants + Mira presence ++Noverflow). - Non-blocking floating banners inside the stage viewport handle Room Mira active notice, Follow/Summon prompt or leader bar, live recording badge, and Pinned Join QR chip — positioned above
MediaQuery.paddingOf(context).bottomso the floating dock never obscures tiles or controls.
- Modeled on
4. Sheets & Full-Screen Canvases
- Adaptive Bottom Sheets (
showAdaptiveSheet(..., useRootNavigator: true)): Used for Chat & Private Mira, Participants & Admission, Activities Hub, Polls, Live Q&A, Flashcards, Quiz Arena, Timer, Upskii Presenter card, Follow & Summon target picker, Share & Short Links, and Settings. Sheets handle IME insets cleanly and dismiss viaBackButtonListener/Navigator.maybePop. - Full-Screen Surfaces above the shell (
Navigator.of(context, rootNavigator: true).push(..., fullscreenDialog: true)): Used forMeetCollaborationPage(Yjs Document, Co-Programming, Excalidraw Whiteboard) and fullscreen Present QR mode, followingAssistantLiveCallScreen.show(apps/mobile/lib/features/assistant/view/assistant_live_call_screen.dart). Opening above the shell avoids stacking nested app bars insideShellPage, keeps WebRTC audio/video alive underneath, and displays a compact return-to-call pill.
Ordered Implementation Slices
Slice 1 — Shell Compliance, Spotlight Stage & Dock Integration (M)
- Scope: Remove the nested
Scaffold,SafeArea, andMeetRoomContentHeaderfromMeetNativeRoomPage. Bind room title, countdown/status subtitle, and host rename (room.title.update) toShellTitleOverride. Move active-call controls intoShellChromeActions.actionGroup(ShellDockActionGroup) with floating-dock Back ownership and bottomMediaQueryclearance. PushMeetCollaborationPageviaNavigator.of(context, rootNavigator: true)withfullscreenDialog: true. Replace the flat participant grid on compact phones with a spotlight + self-PiP + secondary strip stage, and handlepresence.deltainMeetCallController. - Files:
apps/mobile/lib/features/meet/view/meet_native_room_page.dart,meet_room_content_header.dart(remove),meet_collaboration_page.dart,meet_participant_tile.dart,apps/mobile/lib/features/meet/data/meet_call_controller.dart; newmeet_call_dock_group.dart,meet_stage_view.dart. - Server / API dependencies: None; consumes existing
presence.deltaandroom.title.updateonapps/meet-realtime. - Test plan:
ShellPagewidget harness tests asserting a single top navbar, zero innerAppBar/topSafeArea, floating-dock Back + Android system Back behavior, compact (390×844) and 1.5× text-scale dock clearance, root-navigator collaboration open/dismiss, and unit tests forpresence.deltaupsert/remove ordering.
Slice 2 — Cross-Workspace Deep Links, Share/Short Links & Pinned Join QR (M)
- Scope: Decouple room joins from
WorkspaceCubit.currentWorkspaceso signed-in invitees join any authorized room by code natively (removing the forced?openInBrowser=1workaround on shared links). ExtendresolveMobileDeepLinkfor canonical/meet/<wsId>/meetings/<meetingId>andttr.gg/meet/<code>URLs. Add Join-by-code and QR scan (mobile_scanner) toMeetPage. Build a native Share sheet backed byttr.ggshort links, staff vanity slugs, copy link, and root-navigator fullscreen Present QR (qr_flutter). Add the stage Pinned Join QR chip/card honoringjoinQrVisibleandjoinQrAutoHide. - Files:
apps/mobile/lib/core/router/deep_links.dart,apps/mobile/lib/core/config/meet_endpoints.dart,apps/mobile/lib/data/repositories/meet_repository.dart,apps/mobile/lib/features/meet/view/meet_portal_page.dart,meet_page.dart,meet_room_sheets.dart; newmeet_share_sheet.dart,meet_stage_join_qr.dart,meet_join_code_sheet.dart; server routeapps/web/src/app/api/v1/meetings/[meetingId]/realtime-token/route.ts. - Server / API dependencies: Add Bearer-auth workspace-agnostic
POST /api/v1/meetings/[meetingId]/realtime-tokenusinggetMeetCallAccessForUser; verifyresolveMeetShortLinkContextonapps/web/src/app/api/v1/workspaces/[wsId]/meetings/[meetingId]/short-links/**accepts mobile Bearer auth; verify Universal/App Link domain association forttr.gg/meet/*(requires release-authority approval if DNS/well-known routes change). - Test plan: Unit tests for
resolveMobileDeepLinkacrossmeet.tuturuuu.com,tuturuuu.com/meet, canonical meeting paths,ttr.gg/meet/*, andopenInBrowseropt-outs; repository tests for short-link CRUD and cross-workspace token resolution; widget tests for Pinned Join QR minimize/auto-hide and Present QR dismissal.
Slice 3 — Participants Moderation, In-Call Settings & Media Controls (M)
- Scope: Expand participants management with bulk admit/decline all (
admission.decideAll), promote co-host (participant.promote), video/screen mute &room.mediaOverride, room-wide permission toggles, roster search/filter, guest/external badges, and attendance view. Open Call Settings to every participant with self display-name rename (participant.rename), audio output route picker (speaker/earpiece/Bluetooth), bandwidth/video quality preference, connection diagnostics (media.quality.read), and sound toggle; expose host activity-access mode, default activity, and public/event-mode controls. - Files:
apps/mobile/lib/features/meet/data/meet_call_controller.dart,meet_native_media.dart,apps/mobile/lib/features/meet/view/meet_room_sheets.dart; newmeet_participants_sheet.dart,meet_settings_sheet.dart,meet_media_quality_sheet.dart. - Server / API dependencies: Existing WS messages cover moderation, rename, settings, and
media.quality.read; add Bearer-authGET /api/v1/meetings/[meetingId]/attendanceif the attendance roster/export is surfaced on mobile. - Test plan: Signaling unit tests for all new WS commands/replies; widget tests checking role gating (host vs. co-host vs. speaker vs. viewer) on controls; device test pass for iOS/Android Bluetooth and speakerphone route switching.
Slice 4 — Guest Join & Unauthenticated Lobby Parity (M)
- Scope: Permit unauthenticated users opening a Meet deep link or Join-by-code flow to enter the Meet lobby without signing in. Implement guest display-name entry,
cloudflare_turnstilehuman verification when required, waiting-room status,guest.eventRejoinRequiredrecovery, and optional sign-in upgrade from the lobby. - Files:
apps/mobile/lib/core/router/app_router.dart,app_router_access_redirects.dart,apps/mobile/lib/features/meet/data/meet_guest_session.dart,meet_call_controller.dart,apps/mobile/lib/features/meet/view/meet_guest_lobby_page.dart,meet_native_room_page.dart. - Server / API dependencies: Public (cookie-free) mobile endpoints under
/api/v1/meetings/[meetingId]/public-infoand/api/v1/meetings/[meetingId]/guest/**mirroringapps/meet/src/app/api/meet-call/[meetingId]/public-infoand/guest/**, returning a short-lived guest realtime token after Turnstile/rate-limit checks. - Test plan: Router redirect tests verifying unauthenticated
/meet?room=<code>opens the guest lobby instead of forcing sign-in; Turnstile failure/retry and rate-limit tests; waiting-room admit, deny, remove, andguest.eventRejoinRequiredunit/widget tests.
Slice 5 — Room Chat Enhancements & Full Mira Parity (L)
- Scope: Add chat file attachments (
attachmentIds), participant avatars, guest/external identity badges, unread badge count on the dock Chat button, idempotentclientMessageId, and/miracommand suggestions. Add host Room Mira on/off control, starting/stopping Room Mira live voice sessions from mobile (reusingAssistantLiveRecorderandMeetRoomAudio), Private Mira live voice & opt-in tutor-chat sharing chip, Mira account/memory/audience settings, and Mira draft preview cards. - Files:
apps/mobile/lib/features/meet/data/meet_personal_chat.dart,meet_room_assistant.dart,meet_room_audio.dart, newmeet_live_voice_controller.dart,apps/mobile/lib/features/meet/view/meet_room_sheets.dart,meet_personal_chat_panel.dart,meet_room_mira_notice.dart, newmeet_chat_attachments.dart,meet_mira_settings_sheet.dart. - Server / API dependencies: Bearer-auth routes under
apps/web/src/app/api/v1/meetings/[meetingId]/(or workspace-scoped equivalents) mirroringapps/meet/files,/mira-room,/meet-live/[meetingId],/meet-live/memory, and/meet-mira/account, enforcingresolveSessionAuthContextand Mira AI data consent. - Test plan: Consent-gate refusal/retry tests across private, room, and voice Mira paths; attachment MIME/size validation tests; unread counter & chat-open reset tests;
MeetRoomAudiointerruption/mute recovery tests.
Slice 6 — Native Activities Hub: Timer, Polls, Live Q&A, Follow & Summon (L)
- Scope: Add a shell-compliant Activities Hub sheet triggered from the dock and implement native Flutter surfaces for the highest-frequency live meeting tools: unified Room & Personal Timer (
classTimer/classTimer.command), Polls (ballot, live results, host composer, stage poll toast), Live Q&A (question composer, upvoting, answers, host on-screen pin banner), and Follow & Summon (navigation/navigation.requesthandling forced host summons, consent prompts, leader status bar, and target selection). - Files: New
apps/mobile/lib/features/meet/activities/(meet_activities_sheet.dart,meet_timer_controller.dart,meet_timer_sheet.dart,meet_polls_sheet.dart,meet_qa_controller.dart,meet_qa_sheet.dart,meet_navigation_controller.dart,meet_follow_banner.dart,meet_summon_sheet.dart); updates tomeet_call_controller.dartandmeet_native_room_page.dart. - Server / API dependencies: Timer, Live Q&A, and Follow & Summon run on the existing
apps/meet-realtimeWebSocket protocol; Polls requires a Bearer-auth/api/v1/meetings/[meetingId]/pollsroute mirroringapps/meet/src/app/api/meet-call/[meetingId]/polls/route.ts. - Test plan: Protocol tests for
classTimer,liveQa.*,polls.changed, andnavigation(forced vs. consent, activity deep-open); compact-viewport widget tests with IME keyboard open for poll and Q&A creation.
Slice 7 — Learning & Creation Activities: Whiteboard, Flashcards, Quiz Arena, Assessments & Upskii (L)
- Scope: Extend
NativeCollaborationandMeetCollaborationPage(root-navigator fullscreen) to support the Tuturuuu Whiteboard (Excalidraw saved board + pen-board fallback with guest view-only enforcement) and Mira code-fix diffs in Co-Programming. Add native Flutter sheets for Flashcards, Quiz Arena (join, timed answers, live leaderboard), Live Assessments, and Upskii Presenter (item title, QR code, stricthttps://app.upskii.comorigin-checked external launch, and host picker for linked Upskii accounts). - Files:
apps/meet/src/features/call/components/native-collaboration.tsx,apps/web/src/app/api/v1/meetings/[meetingId]/collaboration/route.ts,apps/mobile/lib/features/meet/view/meet_collaboration_page.dart,apps/mobile/lib/features/meet/data/meet_collaboration_policy.dart; newapps/mobile/lib/features/meet/activities/(meet_flashcards_sheet.dart,meet_quiz_arena_sheet.dart,meet_assessment_sheet.dart,meet_upskii_sheet.dart). - Server / API dependencies: Extend
/api/v1/meetings/[meetingId]/collaborationwithwhiteboardticket/list/link actions; add Bearer-auth/api/v1/meetings/[meetingId]/quiz-arenaand Upskii content catalog route (reusing@tuturuuu/internal-api/upskii-content); Flashcards, Assessments, and Upskii presentation state use existing WS messages (liveActivity.*,upskii.*). - Test plan: Bridge security tests (
meet_collaboration_policy_test.dart) verifying nonce/origin/action allowlist for whiteboard; strict Upskii URL-origin and redirect-param rejection unit tests; widget tests for Quiz Arena countdown/scoring and Flashcards deck state.
Slice 8 — Recording Controls, Live Per-Speaker Transcription & Post-Call Follow-ups (M)
- Scope: Add host and permitted-participant recording start/stop controls with a live recording stage indicator and saved-recording audio playback in
MeetEndedReview. Add per-speaker live transcription consent prompt and opt-in audio chunk upload (transcription.consent/transcription.state+ self-capture routes) gated on confirmed device echo cancellation. ExtendMeetEndedReviewwith manual follow-up task creation, AI follow-ups view, post-call meeting rating, and host notes-visibility controls. - Files: New
apps/mobile/lib/features/meet/data/meet_recording_controller.dart,meet_transcription_controller.dart; updates toapps/mobile/lib/features/meet/view/meet_ended_review.dart,meet_review_transcript.dart,meet_native_room_page.dart,apps/mobile/lib/data/repositories/meet_repository.dart. - Server / API dependencies: Existing Bearer routes
/api/v1/workspaces/[wsId]/meetings/[meetingId]/record,/recordings/**, and/reviewcover recording control and playback; add Bearer-auth routes mirroringapps/meet/transcript-consent,/meet-ai/[wsId]/[meetingId]/self/*,/meet-ai/[wsId]/[meetingId]/followups, and/rating. - Test plan: Controller tests for recording state transitions, transcription consent opt-in/out, upload retry + durable stop fence on call exit; widget tests for
MeetEndedReviewplayback controls, rating submit, and follow-up task creation.