Hi,
I want to retrive available bitrates in a HLS manifest from AVPlayerItem. Can anyone suggest whats the right apporach to get his info?,
Though we can fetch this info from changing the scheme of playback url(HLS) and then fetching it in resourceloader, want to know better approach.
Regards,
Santhosh
The available bit rates is not something we provide through the API. The basic principle is that decisions about which bit rate to go to are in the hands of the framework, not the application, so the client has no need for this information.
You could intercept this information as you suggest (via resourceLoader). However, you should remember that the framework will filter the list down so the presence of a variant or rendition in the master playlist is no guarantee that it will ever be chosen for playback.