The FastPix Data SDK with Bitmovin helps you track key video metrics like user interactions, playback quality, and performance to enhance the viewing experience. It lets you customize data tracking, monitor streaming quality, and securely send insights for better optimization and error resolution.
To track and analyze video performance, initialize the SDK with your Workspace key. Learn about Workspaces.
Open your Android Studio project where you want to integrate the SDK.
Add the FastPix Data SDK dependency:
Navigate to your app-level build.gradle file (or build.gradle.kts if using Kotlin DSL).
Navigate to your settings.gradle file
Sync Now in the notification bar to download and integrate the FastPix Data SDK.Ensure that the workSpaceId is provided, as it is a mandatory field for FastPix integration, uniquely identifying your workspace. Install and import FastPixBitMovinPlayer into your project, and create an bitmovinData instance to bind it to. If you are using any other custom player then create an instance of that player.
Next, create an instance of FastPixBitMovinPlayer to track analytics. After the video URL loads and playback begins, the SDK automatically begins tracking analytics.
BitmovinPlayerView in your Android application to enable seamless functionality. Use the following Kotlin or Java code in your Android application to configure ExoPlayer with FastPix:workSpaceId is a mandatory parameter that tells the SDK on which workspace the data will collect.playerView is another mandatory parameter.customField1 to customField10 for your business logic, giving you the flexibility to pass any required values. Named attributes, such as videoId and videoTitle, can be passed directly as they are. See the user-passable metadata documentation to see the metadata supported by FastPix.Context (usually the Activity), the BotmovinPlayer instance, and the customerData.FastPixBitMovinPlayer.release() function to properly release resources.workspace_key, and look for video views.CustomerDataAfter initialization, the SDK automatically collects:
Provide your stream URL in the url field video-url and your FastPix workspace key in the workspaceIdfield.
Enable logs using:
workSpaceId is correctrelease() in onDestroy() bitmovinData?.release() is called before releasing FastPix SDKThe SDK automatically tracks all events from Bitmovin Player
Events are tracked based on Bitmovin Player native event system
Check that Bitmovin player is properly configured and receiving events
📩 Email: [email protected] 📚 Docs: fastpix.com/docs