How pankajkc1995/live_streaming works
This is a Flutter live-streaming app whose main journey is signing in, discovering a stream, and participating as a host or viewer through real-time video and audience interactions. The README describes a UI → BLoC → use case → repository → data source architecture, with Firebase and Agora integrations. The graph preserves major documented feature areas; source excerpts are limited to platform scaffolding, so feature-level connections rely on the README rather than inspected Dart implementations.
Main entry points: app.dart Flutter app · live_stream Live sessions · authentication Authentication · chat Live chat
Components 19
App foundation
- Flutter app
lib/app.dart - Routing
lib/core/routing/app_router.dart - Firebase services
lib/core/firebase/firebase_service.dart - Cloud Functions
functions/index.js
Identity and discovery
- Authentication
lib/features/authentication - Stream discovery
lib/features/home - Host search
lib/features/search
Live streaming
- Live sessions
lib/features/live_stream - Viewer experience
lib/features/viewer - Agora RTC
lib/core/services/agora_service.dart
Audience engagement
- Live chat
lib/features/chat - Likes
lib/features/like - Virtual gifts
lib/features/gift - Follow
lib/features/follow - Notifications
lib/features/notification - Push messaging
lib/core/services/fcm_service.dart
User account
- Profiles and history
lib/features/profile - Settings
lib/features/settings
Other components
- Viewer
Connections 19
- Viewer → Flutter app: uses
README.md - Flutter app → Routing: routes through
README.md - Flutter app → Authentication: presents
README.md - Flutter app → Stream discovery: presents
README.md - Flutter app → Host search: presents
README.md - Flutter app → Live sessions: presents
README.md - Flutter app → Viewer experience: presents
README.md - Live sessions → Agora RTC: streams with
README.md - Flutter app → Live chat: provides
README.md - Flutter app → Likes: provides
README.md - Flutter app → Virtual gifts: provides
README.md - Flutter app → Follow: provides
README.md - Flutter app → Notifications: provides
README.md - Notifications → Push messaging: uses
README.md - Flutter app → Profiles and history: provides
README.md - Flutter app → Settings: provides
README.md - Authentication → Firebase services: authenticates with
README.md - Live chat → Firebase services: stores chat in
README.md - Live sessions → Cloud Functions: gets tokens from
README.md