we are working on a tvOS app with video player (AVPlayerviewcontroller), and we re expiring inconsistent behavior with the language and audio displayed info. (the same behavior is on iOS).
Our master-playlist:
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="AUDIO_96000",NAME="ITALIANO (STEREO)",DEFAULT=NO,AUTOSELECT=NO,LANGUAGE="it"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="AUDIO_96000",NAME="INGLESE (STEREO)",DEFAULT=YES,AUTOSELECT=YES,LANGUAGE="en",URI="r16.m3u8"
And the player shows up:
We expect to display the value of NAME, instead some value is filled using LANGUAGE TAG and others using NAME TAG, it seems there is some rules according with OS Language (in the picture the OS is italian).
Our goals is to show up the value of NAME TAG, in according with HLS Standards, and avoid to set autoselect to YES, because we need to start the playback with Italian language.
How should we manage the playlist to achieve this goal?
Can we use some API on AVPlayerViewController to replace the text using NAME TAG value?
Thank you