UnityPlugin-AVProVideo
UnityPlugin-AVProVideo copied to clipboard
[Question] How to start HLS media with a specific language?
When a HLS manifest contains multiple language tracks, the player will always start with the default language.
If I want to set a different audio/text track, I can use the .SetActiveAudioTrack() and .SetActiveTextTrack(), and at that point the player will start downloading the data for the language.
Is there a way to override the "default" language before starting loading the video, so that the video player can download the desired audio/subtitle tracks right away? This would save loading time and bandwidth for the final user, because the player won't have to load the first segment of the default language set in the HLS manifest.
Hi @christianYS, This is not something that is currently available, but we could definitely look into adding this feature in the future.
Thank you. This is a nice-to-have feature, although a "minor" one.