Play uploaded videos
Learn how to play FastPix videos and direct URLs using the FastPix Android Player SDK.
Play a FastPix video with a playback ID
Use setFastPixMediaItem when you have a playbackId from the FastPix dashboard. The SDK resolves the playback URL automatically (https://stream.fastpix.com/{playbackId}.m3u8).
Note:
StreamTypeis included in the builder for API compatibility but is not yet applied to the resolved URL in this SDK version.
Play a direct URL
Use setMediaItem when you already have a playback URL (HLS .m3u8, DASH, progressive MP4, or other supported format):
Start playback in your Activity
Call the playback setup method from onStart to begin streaming:
What’s next
- Enable secure video playback to protect content with tokens.
- Set playback resolution to control video quality.
- Control video playback for play, pause, and seek.