Add LiveKit huddle support to mobile app #219
Reference in New Issue
Block a user
Delete Branch "claude/festive-fermat-r5hyg"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds real-time audio/video huddle functionality to the mobile app, mirroring the desktop HuddleApp experience. Users can now join LiveKit rooms directly from stream views to collaborate with active participants.
Key Changes
New HuddleScreen component (
HuddleScreen.tsx): Full-featured LiveKit room with:useOpenHuddle hook (
use-open-huddle.ts): Handles huddle initialization by:StreamTopActions integration: Added huddle button that:
StreamCard enhancement: Added huddle indicator badge showing active participant count
Navigation setup: Added Huddle route to RootStackParamList with required parameters (token, serverUrl, streamName, etc.)
LiveKit initialization: Registered WebRTC globals at app entry point via
registerGlobals()to ensure proper setup before any LiveKit client constructionDependencies & config:
@livekit/react-native,livekit-client,@livekit/react-native-webrtcImplementation Details
https://claude.ai/code/session_01Po5tAD17MXhnqGQ9hKh6PC