Flutter Remote Podcast Tutorial
Build a host-and-guest studio with mediasfu_sdk@2.3.0. The supplied conference room provides participant state, local and remote media, device controls, chat, screen sharing, recording controls, leave, and host end.
Prerequisites
- Flutter 3.38.1 or newer, an Android or iOS development environment, and physical audio-route testing.
- An HTTPS signed-in backend that authorizes hosts and guests.
Project files
Use the complete Flutter starter app. It contains every file needed for this package. On its first screen, choose Remote podcast to open the supplied conference room through the secured backend adapter.
flutter create my_mediasfu_app
cd my_mediasfu_app
The temporary local token is an app credential, not a MediaSFU key. A distributed app uses an authenticated backend that retains the Cloud credential.
Run
cd my_mediasfu_app
flutter pub get
flutter run
Expected result
Choose Remote podcast, join host and guest devices, confirm both audio directions, then test camera, screen sharing, leave, and host end.
Recovery
- Check permission and device audio route before reconnecting.
- Let the affected person retry media if one direction fails.
- Show recording state only after room confirmation; storage and downloads are backend features.