How can i change AVPlayer Video Quality while playing
问题 I used this library for playing video from URL , and I am able to play video. Now I want to change the currently playing video quality like (low, medium, high) . Library uses AVPlayer and how can i change quality with AVPlayer? I listen about preferredPeakBitRate but I have no idea about it. Please help me how can i do that? 回答1: You cannot set video quality directly on the AVPlayer , however, you can do this by accessing videoComposition property on AVPlayerItem which is then supplied to