---
title: startsOnFirstEligibleVariant
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritem/startsonfirsteligiblevariant
---

# startsOnFirstEligibleVariant

A Boolean value that indicates whether playback starts with the first eligible variant that appears in the stream’s main playlist.

## Declaration

```swift
nonisolated var startsOnFirstEligibleVariant: Bool { get set }
```

## See Also

### Setting variant behavior

- [variantPreferences](avfoundation/avplayeritem/variantpreferences.md)
- [AVVariantPreferences](avfoundation/avvariantpreferences.md)
