Learn how to detect and switch between multiple audio tracks in the FastPix iOS Player.
The FastPix iOS Player SDK automatically detects all available audio tracks from the stream and lets users switch between them during playback. This is useful for multi-language content.
Assign the delegate to receive audio track updates:
Set a preferred audio track by language name. The SDK automatically selects it when the video loads. If the preferred track isn’t available, the manifest default is used.
The preferred track is automatically applied on every playlist item change.
Conform to FastPixAudioTrackDelegate to receive track updates: