> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://fastpix.com/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://fastpix.com/docs/_mcp/server.

# Set playback resolution

> Learn how to control video playback resolution in the FastPix Android Player.

Learn how to control video playback resolution in the FastPix Android Player.

The FastPix Android Player lets you set minimum, maximum, or fixed resolution values to control video quality during playback.

## Set a resolution range

Define minimum and maximum resolution boundaries. The player switches between levels within this range based on network conditions:

```kotlin
private fun startPlayback() {
    player?.setFastPixMediaItem {
        playbackId = "YOUR_PLAYBACK_ID"
        minResolution = PlaybackResolution.LD_480
        maxResolution = PlaybackResolution.FHD_1080
    }
}
```

## Set a fixed resolution

Force playback at a specific resolution:

```kotlin
private fun startPlayback() {
    player?.setFastPixMediaItem {
        playbackId = "YOUR_PLAYBACK_ID"
        resolution = PlaybackResolution.HD_720
    }
}
```

## Benefits

* **Min/max resolution** sets quality boundaries to manage bandwidth and device performance.
* **Fixed resolution** forces playback at a specific level (for example, always 720p).
* **Adaptive range** lets the player switch between defined min–max levels based on network conditions, achieving smoother streaming.