📺 flutter_aws_ivs_sdk
flutter_aws_ivs_sdk is a Flutter plugin that provides easy-to-use widgets and controllers for integrating Amazon IVS Playback and Amazon IVS Stage (WebRTC) into your Flutter applications. This plugin is designed to be simple, lightweight, and fully compatible with modern IVS live video and interactive streaming experiences.
✨ Features
- â–¶ Play Amazon IVS livestreams (.m3u8 URLs)
- 🎥 Join Amazon IVS Stage sessions
- 🎤 Publish camera and microphone to Stage
- 📱 Android & iOS support
- 🔌 Flutter-friendly widget-based API
- âš¡ No manual native setup required
📦 Installation
Add the dependency:
dependencies:
flutter_aws_ivs_sdk: ^1.0.0
Install packages:
flutter pub get
🚀 Usage
â–¶ Play an IVS Livestream
IvsPlayerView(
url: "https://your-stream-url.m3u8",
onStatusChanged: (status) {
print(status);
},
)
🎥 Join an IVS Stage Session
Create the controller using your Stage token:
final controller = IvsStagePlayerController("YOUR_STAGE_TOKEN");
Display the Stage view:
IvsStagePlayerView(
controller: controller,
)
Control the session:
controller.join();
controller.publish();
controller.leave();
📚 API Overview
IvsPlayerView
Widget for playing Amazon IVS livestreams and receiving status updates.
IvsStagePlayerView
Widget for showing local and remote video tiles for IVS Stage participants.
IvsStagePlayerController
Controller for managing the IVS Stage session:
- Join a session
- Publish audio/video
- Leave the session
📄 License
MIT License