title: Implementation of HTTP Live Streaming in iOS
body: <p>I want to write a little iOS video client and have to use HTTP Live Streaming. The videos come from a Wowza Media Server which supports HTTP Live Streaming, so the server-side implementation is not my problem.
  I have already watch the WWDC videos and read the Apple documentation about HTTP Live Streaming. </p>
  
  <p>But there is nowhere explained how to play back the videos on an iOS device. In a WWDC-talk was mentioned that there are 3 possibilities to display the videos:</p>
  
  <ul>
  <li>UIWebView </li>
  <li>MPMoviePlayerController</li>
  <li>AVPlayerItem</li>
  </ul>
  
  <p>Which one is the best?</p>
  
  <p>And how can I read out the video-URL's from a HTML-Page like these, which become provided by the server?</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;HTTP Live Streaming Example&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;video
          src="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8"
          height="300" width="400"
      &gt;
      &lt;/video&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>(Source: <a href="https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/DeployingHTTPLiveStreaming/DeployingHTTPLiveStreaming.html#//apple_ref/doc/uid/TP40008332-CH2-DontLinkElementID_29" rel="nofollow noreferrer">Apple HTTP Live Streaming Overview</a>)</p>
  
  <p>I really don't know where to start with coding...Maybe somebody know better example code than the annoying "Stitched Stream Player" or can write a little tutorial.</p>