For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
StatusSupportDiscussionsLog inSign Up
Docs HomeAPI ReferenceVideo on DemandAI FeaturesLive StreamingVideo PlayerVideo DataCloud PlayoutRecipes
Docs HomeAPI ReferenceVideo on DemandAI FeaturesLive StreamingVideo PlayerVideo DataCloud PlayoutRecipes
  • Player SDKs
    • Introduction
  • Web player
    • Install the FastPix web player
    • Play uploaded videos
    • Handle playback errors
  • Android player
    • Install FastPix Android player
    • Set up the player
    • Play uploaded videos
    • Handle playback errors
      • Control video playback
      • Adjust volume and mute
      • Control playback speed
      • Set playback resolution
      • Control rendition order
      • Listen to playback events
  • iOS player
    • Install FastPix iOS player
    • Play uploaded videos
    • Handle playback errors
  • Flutter player
    • Install FastPix Flutter player
    • Play uploaded videos
    • Handle playback errors
LogoLogo
StatusSupportDiscussionsLog inSign Up
On this page
  • Set the rendition order
  • Available modes
  • When to use each mode
Android playerPlayback

Control rendition order

Was this page helpful?
Previous

Listen to playback events

Next
Built with

Learn how to set the resolution preference order during adaptive playback in the FastPix Android Player.

Rendition order controls which resolutions the player prefers during adaptive playback. You can prioritize quick startup (ascending) or best quality first (descending).

Set the rendition order

1private fun startPlayback() {
2 player?.setFastPixMediaItem {
3 playbackId = "YOUR_PLAYBACK_ID"
4 renditionOrder = RenditionOrder.Descending
5 }
6}

Available modes

  • Ascending: 144p → 360p → 720p → 1080p. Starts with the lowest resolution for a faster startup, then increases quality as conditions allow.
  • Descending: 1080p → 720p → 360p → 144p. Starts with the highest resolution for the best initial quality, then steps down if needed.

When to use each mode

Use ascending order when quick startup matters (for example, mobile on cellular networks). Use descending order when you want the best initial viewing experience and can tolerate a slightly longer load time.

The player intelligently switches resolutions based on real-time network and device conditions while respecting the set priorities. This helps avoid sudden quality drops and maintains smoother playback.