title: iOS AES-128 encrypted streaming with MPMoviePlayerController
body: <p>I am developing an application for iPhone that will stream an encrypted video content. I was able to create an app that plays not encrypted stream using MPMoviePlayerController following the MPMoviePlayer class reference. That was really easy and simple.</p>
  
  <p>I was searching through apple developer libraries, google and stack, but found nothing about encrypted streaming on iPhone or how to do it. I was wondering if the MPMoviePlayer does not have any methods to play such stream. Do I have to always download the .ts files, decrypt them and then somehow play them via MPMoviePlayer sequentially? Or is there anything that could simplify that process? I believe that the reason I didn't find it anywhere is that its really simple or I want to use a very inappropriate way to do it.</p>
  
  <p>I was given a .m3u8 file where there are generated keyIDs and IVs. I suppose I need to implement some parser or something that will read them so I can use them, or is there also a simpler, better suited, method to do it?</p>
  
  <p>Could anyone please direct me to use the right approach so I won't reinvent hot water?</p>
  
  <p>Thank you in advance.</p>