title: How many AVPlayers are allowed to be created at the same time?
body: <p>I have a <code>collectionView</code> and each <code>cell</code> has an <code>AVPlayer</code> which is set to play. So every cell is playing a video at the same time. It seems that iOS only allows you to play 16 videos at the same time. For example, look at my sample app below. Out of 50 <code>cells</code>, only 16 started playing a video. This number always stays the same. This happens on a iPhone 6s running iOS 10. In the Xcode simulator however all 50 videos start playing. This issue only happens on an actual device.</p>
  
  <p><a href="https://i.stack.imgur.com/MrSO3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/MrSO3.png" alt="enter image description here"></a></p>
  
  <p>Also, I get these two errors when I print this out:</p>
  
  <pre><code>print("Video player Status Failed: player item error =  (self.player.currentItem.error)")
  print("Video player Status Failed: player error = \(self.player.error)")
  </code></pre>
  
  <p>2016-11-07 15:53:46.548288 SampleApp[1810:515089] Video player Status Failed: player item error = Error Domain=AVFoundationErrorDomain Code=-11839 "Cannot Decode" UserInfo={NSUnderlyingError=0x1704414d0 {Error Domain=NSOSStatusErrorDomain Code=-12913 "(null)"}, NSLocalizedFailureReason=The decoder required for this media is busy., NSLocalizedRecoverySuggestion=Stop any other actions that decode media and try again., NSLocalizedDescription=Cannot Decode}
  2016-11-07 15:53:46.548358 SampleApp[1810:515089] Video player Status Failed: player error = (null)</p>
  
  <p>Is there a limit to how many <code>AVPlayer</code>'s you could have or am I doing something wrong?</p>
  
  <p>Thanks!</p>