Open Offek opened 3 years ago
On iOS, Apple's native playback API doesn't give you control over resolution selection, only language/audio. In cases where we are relying on that to play HLS, there is no way for us to offer you resolution selection as far as I understand. @TheModMaker, I know this is all true on the web, but is it also accurate for Embedded on iOS?
Hi, I have a regular HLS stream with 2 video tracks and 2 audio tracks. I'm able to fetch the languages (audio tracks) using the getVariantTracks function and have the player change between them. However, getVariantTracks only retrieves the audio tracks of the stream. How can I do the same for video variants of the different resolutions in the stream? I'm trying to fetch all the video tracks so I can play them selectively, similar to YouTube's (360p, 1080p, etc).
Here is an example of my master.m3u8 file:
Thanks in advance!