The FastPix Video Data SDK for Brightcove Player is a third-party QoE (quality-of-experience) monitoring SDK that tracks performance, quality of experience, and user interactions for the Brightcove Player on Android. It attaches to the ExoPlayer inside Brightcove's player and reports viewer engagement and playback metrics - startup time (time to stream start), rebuffering, error rates, average bitrate, and stall rates - to the FastPix dashboard in real time.
It is not a video player and it does not replace Brightcove Player. It is the monitoring layer you add alongside Brightcove's player, the same way you would add Mux Data - a third-party Video Data SDK that complements (and goes beyond) Brightcove's built-in analytics module.
Works with: Brightcove Player for Android · ExoPlayer / AndroidX Media3 · Android 7.0+ (API 24) · Kotlin and Java · io.fastpix.data:media3
FastPix documentation · Create a free account
Follow these in order:
- Why FastPix for Brightcove monitoring
- Built-in Brightcove analytics vs FastPix
- What you can track
- Who it's for
- Prerequisites
- Get your FastPix workspace key
- Install the SDK
- Run the sample app
- Attach analytics to your Brightcove player
- Which FastPix SDK for which Android player
- FAQ
Brightcove Player exposes playback events, and Brightcove's Studio module gives you built-in QoE analytics - but if you want your Brightcove playback data in the same place as your web, iOS, and other players, with your own metadata and custom dimensions, a third-party Video Data SDK is the way to get it. FastPix:
- Monitors Brightcove playback in real time. Startup time, rebuffering, error rates, bitrate, and stall rates as they happen on real devices.
- Attaches to Brightcove's own ExoPlayer. The SDK reads the
ExoPlayerthat Brightcove Player already runs, so you keep Brightcove's player and add monitoring with a few lines. - One data model across platforms. The same FastPix Video Data metrics come from web, iOS, Android, and other player integrations, so you compare experiences like for like.
- Your metadata, your dashboard. Tag views with video, player, and custom fields and analyze them in the FastPix dashboard.
Brightcove has a built-in Analytics and QoE module in Video Cloud Studio that tracks views, engagement, and quality of experience (startup time, rebuffering, error rates) at no extra charge. FastPix is a third-party monitoring SDK you run alongside it when you want:
- Brightcove playback data unified with your other FastPix-monitored players (web, iOS, ExoPlayer, Media3, and more).
- Custom dimensions and your own metadata on every view.
- One dashboard, API, and alerting surface across every platform you ship.
Use Brightcove's built-in module, FastPix, or both - they are not mutually exclusive.
- Automatic video analytics - integrates with Brightcove Player events.
- Dynamic beacon domain - automatic beacon domain selection for staging and production environments.
- Easy configuration - simple configuration objects for quick setup.
- Resource management - automatic cleanup of analytics resources.
- User engagement metrics - capture detailed viewer interaction data.
- Real-time performance analysis - monitor playback quality and streaming diagnostics.
- Error handling - robust error reporting and diagnostics.
These map to the core QoE questions teams ask about Brightcove playback: how fast it starts, how often and how long it rebuffers, which bitrates play, how many stalls occur, and which errors viewers hit.
- Teams running Brightcove Player on Android who want production QoE monitoring without building an analytics pipeline.
- Broadcasters and OTT/media apps on Brightcove that need to catch rebuffering, slow startup, and playback errors before users churn.
- Anyone standardizing playback analytics across platforms who wants Brightcove data in the same FastPix dashboard as their web and iOS players.
- Android Studio Ladybug (2024.2) or later
- Minimum Android SDK 24 (Android 7.0)
- Brightcove Player integrated into your project (including Brightcove's own Maven repository,
https://repo.brightcove.com/releases) - this SDK attaches to it - A GitHub Personal Access Token (PAT) with the
read:packagesscope, to pull the SDK from GitHub Packages - A FastPix account and workspace key (see below)
To track and analyze video performance, initialize the FastPix Data SDK with your workspace key:
- Open the FastPix Dashboard and go to the Workspaces section (or set up a workspace if you do not have one, and create a free account first if needed).
- Copy your workspace key for client-side monitoring. You will pass it into the SDK wherever you want to track video performance and analytics.
The FastPix SDK is published to GitHub Packages, which requires authentication. Add your GitHub username and a personal access token (with the read:packages scope) to local.properties (this file is git-ignored, so your token is never committed):
# local.properties
gpr.user=YOUR_GITHUB_USERNAME
gpr.key=YOUR_PERSONAL_ACCESS_TOKENsettings.gradle.kts already reads these values as gpr.user / gpr.key and applies them to the FastPix repository, so you do not need to edit settings.gradle.kts.
The project's settings.gradle.kts already declares every repository it needs - Google, Maven Central, the Brightcove repository (for Brightcove Player), and the FastPix GitHub Packages repository (for the SDK). If you are wiring FastPix into your own project, add the same repositories to your settings.gradle:
repositories {
google()
mavenCentral()
maven {
url = uri("https://repo.brightcove.com/releases")
}
maven {
url = uri("https://maven.pkg.github.com/FastPix/android-data-androidXmedia3")
credentials {
username = providers.gradleProperty("gpr.user").get()
password = providers.gradleProperty("gpr.key").get()
}
}
}Why
android-data-androidXmedia3andio.fastpix.data:media3? Brightcove Player on Android runs on ExoPlayer / AndroidX Media3 under the hood, so the Brightcove integration is delivered through FastPix's Media3 Video Data SDK. That is expected - you pull themedia3package even though you are monitoring Brightcove.
Make sure the project's gradle.properties contains:
android.useAndroidX=true
android.nonTransitiveRClass=trueWithout android.useAndroidX=true, the build fails with "contains AndroidX dependencies, but the android.useAndroidX property is not enabled."
Add the dependency to your app/build.gradle. For the current version, see the android-data-androidXmedia3 repository:
dependencies {
// check for the latest version
implementation("io.fastpix.data:media3:current_version")
}Replace current_version with the latest version listed on the android-data-androidXmedia3 repository. The required io.fastpix.data:core dependency resolves automatically from the same repository.
This repository includes a runnable demo in the app/ module that plays a FastPix sample stream through Brightcove Player with the SDK attached. To build and run it:
-
Clone the repository and open it in Android Studio:
git clone https://github.com/FastPix/android-data-brightcove.git cd android-data-brightcove -
Add your GitHub credentials to
local.propertiesso Gradle can download the SDK (see Install the SDK):gpr.user=YOUR_GITHUB_USERNAME gpr.key=YOUR_PERSONAL_ACCESS_TOKEN
-
Confirm
gradle.propertiescontainsandroid.useAndroidX=true(see Install the SDK). -
To send analytics to your own workspace, open
MainActivity.ktand replace the placeholderworkSpaceId = "..."passed toFastPixBaseMedia3Playerwith the workspace key from your FastPix dashboard. -
Select a device or emulator running Android 7.0 (API 24) or higher, then run the app from Android Studio or from the command line:
./gradlew :app:installDebug
The sample starts playing immediately. As the video plays, the SDK sends QoE beacons (startup, buffering, bitrate changes, engagement) to FastPix.
The integration flow is: get the ExoPlayer that Brightcove Player is using, then hand it to FastPix. In the sample, Brightcove's BrightcoveVideoView exposes its ExoPlayer through ExoPlayerVideoDisplayComponent, and that player (plus your workspace key and optional metadata) is passed to FastPixBaseMedia3Player. Call release() on the SDK when the player is torn down.
In the sample, open MainActivity.kt and replace the placeholder workSpaceId = "..." with the workspace key from your FastPix dashboard (see Get your FastPix workspace key). Otherwise the demo reports to the sample's default workspace, not yours.
For a complete, runnable example, see the MainActivity.kt sample in this repository - it shows creating a Brightcove video, reading its ExoPlayer, and starting FastPix analytics with VideoDataDetails, PlayerDataDetails, and CustomDataDetails.
FastPix ships a Video Data SDK per player. Pick the one that matches the player your app ships:
| Your Android player | Use this SDK |
|---|---|
| Brightcove Player | FastPix/android-data-brightcove (this repository) |
| AndroidX Media3 (the current ExoPlayer) | FastPix/android-data-androidXmedia3 (also the package this SDK uses) |
| Google ExoPlayer (standalone / legacy) | FastPix/android-data-exoplayer-sdk |
| Any player, shared core layer | FastPix/android-core-data-sdk |
How do I monitor Brightcove Player performance on Android?
Add the FastPix Video Data SDK, get the ExoPlayer that Brightcove Player runs, and pass it to FastPixBaseMedia3Player with your workspace key. It tracks startup time, rebuffering, bitrate, stall rates, and errors and reports them to the FastPix dashboard. See Install the SDK and Attach analytics to your Brightcove player.
Does Brightcove have built-in analytics? How is this different? Yes - Brightcove has a built-in Analytics and QoE module in Video Cloud Studio. FastPix is a third-party SDK you run alongside it to unify Brightcove playback data with your other players, add custom dimensions, and use one dashboard and API across platforms. See Built-in Brightcove analytics vs FastPix.
What metrics does it track? Quality-of-experience and engagement signals: startup time (time to stream start), rebuffering frequency and duration, error rates, average bitrate, stall rates, and user interactions.
Is this a video player? No. It does not play or render video. It is a monitoring wrapper that observes the Brightcove Player you already use.
Why does a Brightcove SDK install the media3 package?
Brightcove Player on Android is built on ExoPlayer / AndroidX Media3, so FastPix monitors it through the Media3 Video Data SDK (io.fastpix.data:media3). See the note under Install the SDK.
How does it compare to Mux Data for Brightcove? Both are third-party Video Data SDKs for Brightcove Player. FastPix reports the same class of QoE metrics and unifies them with your other FastPix-monitored players in one dashboard.
Do I need a FastPix account? Yes. You need a workspace key from your FastPix account to report data. Create a free account.
- Monitor Brightcove Player - FastPix docs
- FastPix Video Data overview
- Use custom dimensions
- Brightcove Player developer docs
For questions, issues, or feature requests:
- Email: support@fastpix.com
- Documentation: FastPix Documentation
- SDK Issues: GitHub Issues
This project is licensed under the Apache License 2.0. See the LICENSE file for details.