Avplayeritem

AVPlayerItem

Resolution

If you want to have a specific bitrate to be targeted by the AVFoundation library.

Apple has a property .preferredpeakbitrate which you can use to guide the system to try its best to achieve that.

apple - docs | AVPlayerItem