title: HTTP Live Streaming with AVPlayer in iOS 4.0?
body: <p>Is it possible to use HTTP Live Streaming with AVPlayer on iOS 4.0? This was clearly a documented feature of 4.0. However, if I run <a href="http://developer.apple.com/library/ios/#samplecode/StitchedStreamPlayer/Introduction/Intro.html" rel="nofollow" title="StichedStreamPlayer Apple sample code">Apple's SitchedStreamPlayer sample code</a> on my 3GS running iOS 4.0.1, clicking "Load Movie" does not play the stream, but gives an error:</p>
  
  <blockquote>
    <p>2011-06-21 13:14:49.428 StitchedStreamPlayer[680:307] The asset's tracks were not loaded due to an error: 
    Cannot Open</p>
  </blockquote>
  
  <p>MPMediaPlayer is able to play <a href="http://qtdevseed.apple.com/addemo/ad.m3u8" rel="nofollow">the same stream</a> on the same device. However, I need a working solution with AVPlayer.</p>
  
  <p>Does anyone know how to get Apple's StichedStreamPlayer code to work on 4.0? The Runtime Requirements say it should work on "iOS 4.0 or later".</p>
  
  <p>Thanks!</p>