How can I change the video quality iOS mobile

I need change the video quality like I change the subtitles with the function setSubtitle() or similar

I have this playerView?.player.availableVideoQualities[indexPath.row] else { return }
I need to change the quality depending on the selected quality.


Due to technical limitations from Apple, this feature isn’t available on iOS. What comes closest is player.maxSelectableBitrate, which allows you to set an upper bitrate boundary in bits per second.