Learn how to set up your FastPix account and add the FastPix Flutter Player SDK to your project.
The FastPix Flutter Player SDK lets you add video playback to your Flutter app. It supports both live and on-demand streaming and integrates directly into Flutter workflows. You can find the source code in the FastPix Flutter Player GitHub repository.
Before writing Flutter code, you need a playback ID. This is how FastPix identifies which video to stream.
Note: Playback IDs are case-sensitive, and each one maps to a single video stream. If your video is protected, you also need to generate a valid JWT token with appropriate access claims.
You have two options:
Option A: Add from the terminal
Option B: Add the dependency directly in pubspec.yaml
Then run:
Note: If you’re behind a proxy or using a CI/CD runner, verify that the SDK is being correctly fetched and cached. Run
flutter pub depsto confirm installation.
Import the SDK into any Dart file where you need video playback. Typically this is your main.dart or a feature module: