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
  • iOS player
    • Install FastPix iOS player
    • Play uploaded videos
    • Handle playback errors
      • Play live and on-demand streams
      • Adjust volume and mute
      • Control playback speed
      • Set playback resolution
      • Set rendition order
      • Set autoplay and loop
  • Flutter player
    • Install FastPix Flutter player
    • Play uploaded videos
    • Handle playback errors
LogoLogo
StatusSupportDiscussionsLog inSign Up
On this page
  • Default behavior
  • Set descending rendition order
  • Set default (ascending) rendition order with a token
iOS playerPlayback

Set rendition order

Was this page helpful?
Previous

Set autoplay and loop

Next
Built with

Learn how to control the order in which the FastPix iOS Player selects video quality levels within a resolution range.

When you define both a minimum and maximum resolution, you can specify the rendition order to control whether the player starts with the lowest or highest available quality within that range.

Default behavior

By default, the FastPix iOS Player uses ascending rendition order. The player starts with the lowest available resolution in the range and gradually increases quality as playback progresses, depending on network conditions.

Set descending rendition order

To start with the highest quality and step down if needed:

1playerViewController.prepare(
2 playbackID: playbackID,
3 playbackOptions: PlaybackOptions(
4 minResolution: .atLeast270p,
5 maxResolution: .upTo1080p,
6 renditionOrder: .descending
7 )
8)

Set default (ascending) rendition order with a token

1playerViewController.prepare(
2 playbackID: playbackID,
3 playbackOptions: PlaybackOptions(
4 minResolution: .atLeast270p,
5 maxResolution: .upTo1080p,
6 renditionOrder: .default,
7 playbackToken: playbackToken
8 )
9)