preferredAudioLanguages

The preferred audio languages as a priority list of language codes (e.g. ["de", "en"]), where the first index has the highest priority.

When set, the player starts playback with the audio track matching the highest-priority available language. If no audio track matches any of the given languages, the default track is selected. The preference is applied before the initial track selection, so the first downloaded audio segments already belong to the matching track.

For a single SourceConfig this can be overwritten using SourceConfig.preferredAudioLanguages.

Default is emptyList() (no preference).