Flutter Host Dashboard Tutorial
Build a host-operated room with mediasfu_sdk@2.3.0. The supplied conference room provides people, requests, moderation, media, chat, polls, breakout rooms, whiteboard, recording controls, and exit.
Prerequisites
- Flutter 3.38.1 or newer and an Android or iOS development environment.
- An HTTPS signed-in backend that applies host and room-permission rules.
Project files
Use the complete Flutter starter app. It contains every file needed for this package. On its first screen, choose Host dashboard; the supplied conference room opens through the secured backend adapter.
flutter create my_mediasfu_app
cd my_mediasfu_app
The temporary token UI is for an isolated development check only. A released app gets authority through its signed-in session while MediaSFU credentials remain backend-only.
Run
cd my_mediasfu_app
flutter pub get
flutter run
Expected result
Choose Host dashboard, join as a host, and confirm participant, request, moderation, media, collaboration, and end controls follow the role returned by the backend.
Recovery
- Refresh session and role after an authorization error instead of changing role locally.
- Refresh room state after a failed moderation action before displaying a final result.
- Keep room navigation usable if device capture fails.