title: AVPlayerViewController video's audio background playing and support for multiple formats
body: <p>I have to do a <strong>Video streaming</strong> app (using a remote url) in swift. But there is <strong>no any exact video format</strong>. Sometimes it can be <code>m3u8</code> sometimes <code>mp4</code> etc.. but my video player should support for what ever the format comes from the back end.</p>
  
  <p>Also when the app is in background, the audio should play and when the app comes foreground video should play without any time delay between the vide and the audio.</p>
  
  <p>I want to know whether is it possible to achieve my objectives using <code>AVPlayerViewController</code> or else what is the best player that I can use to achieve my targets. Please help me.
  Thanks</p>