Learn how to add the FastPix Android Player SDK to your Android project.
The FastPix Android Player SDK is a Media3-based playback library built on ExoPlayer. It supports live and on-demand video streaming, playback security, analytics, track switching, and resolution control. You can find the source code in the FastPix Android Player GitHub repository.
Complete these steps in the FastPix Dashboard before integrating the SDK:
playbackId.Open your app-level build.gradle file (or build.gradle.kts for Kotlin DSL) and add the following under dependencies:
Open your settings.gradle (or settings.gradle.kts) file. You need a GitHub Personal Access Token (PAT) to access the private Maven package.
Recommended: Load credentials from
local.propertiesso you don’t hardcode secrets.
Add the following inside the repositories section:
Click Sync Now in the notification bar to download and integrate the SDK. Once synced, you can use the FastPix Player SDK in any part of your Android project.