Learn how to discover, switch, and disable subtitle tracks in the FastPix Android Player.
Each SubtitleTrack includes:
id — pass to setSubtitleTrack(id) to switch tracks.languageCode / languageName / label — display in your subtitle menu.isSelected, isPlayable, isDefault, isForced — for UI state.role, codec, groupId.Set a preferred subtitle language that applies automatically when tracks become available. This never overrides a manual selection:
Use BCP-47 / ISO language names like "English", "Spanish", "Hindi". If the preferred language doesn’t exist in the stream, the player keeps its normal selection.