Learn how to control video playback resolution and adaptive bitrate streaming in the FastPix iOS Player.
The FastPix iOS Player gives you flexibility to customize video playback resolution. You can set minimum, maximum, or specific resolution values, and let users choose their preferred quality level. The SDK also supports adaptive bitrate streaming (ABR) for automatic quality adjustments based on network conditions.
Ensure the player only streams video at or above a specified resolution:
Ensure the player only streams video up to a specified resolution:
Lock playback to a single resolution:
Define both a minimum and maximum resolution to stream video within a specific range:
ABR automatically adjusts video quality based on network conditions, reducing buffering and improving playback stability. The SDK also supports manual resolution switching, letting users select specific quality levels during playback.
Each QualityLevel includes a label (for example, “Auto”, “240p”, “720p”), bitrate, resolution, and an isAuto flag:
Note: Playback continues from the same position. The player might buffer briefly during the switch.
Switch back to ABR so the player adjusts quality automatically:
Quality levels become available only after playback starts. Trigger loading manually when the player is ready:
Trigger this when player.timeControlStatus == .playing for accurate detection.
Implement the quality delegate to receive updates: