title: Adjust Quality while streaming video with AVPlayer
body: <p>How can I able to set low or high quality video withstreaming video with AVPlayer?</p>
  
  <p>My code is as follow:</p>
  
  <pre><code>self.videoPlayerItem = [AVPlayerItem playerItemWithURL:videoUrl];
  
      videoPlayer = [AVPlayer playerWithPlayerItem:self.videoPlayerItem];
      videoPlayer.actionAtItemEnd = AVPlayerActionAtItemEndNone;
      CGRect frame = self.frame;
      videoPlayerLayer = [AVPlayerLayer layer];
      [videoPlayerLayer setPlayer:videoPlayer];
      [videoPlayerLayer setVideoGravity:AVLayerVideoGravityResizeAspectFill];
  </code></pre>
  
  <p><strong>Thanks for your time</strong></p>