title: Http live streaming to iphone
body: <p>I'm trying to <em>play an http live stream to iphone</em>, it looks like i have looked every example, mistakes and everything that i could found on the internet and apple docs about http live stream, and i think i'm in a dead end now.. I'm using <code>MPMoviePlayer</code> as in most of examples. Also i have to add the i can see the stream if i open the url from vlc player.</p>
  
  <p>I succeeded in playing the <strong>apple BipBop stream</strong> on my iPhone that is <a href="http://devimages.apple.com/iphone/samples/bipbop/gear3/prog_index.m3u8" rel="nofollow">here</a> but can't play my stream. I figured that my url shows not in the <em>m3u8</em> file so i found this terminal command, and successfully used it. </p>
  
  <blockquote>
    <p><em>/Applications/VLC.app/Contents/MacOS/VLC --intf=rc rtp://@239.35.86.11:10000
    '--sout=#transcode{fps=25,vcodec=h264,venc=x264{aud,profile=baseline,level=30, keyint=30,bframes=0,ref=1,nocabac},acodec=mp3,ab=56,audio-sync,deinterlace}:standard{mux=ts,dst=-,access=file}' | mediastreamsegmenter -b <a href="http://192.168.1.16/~Jonas/streaming/" rel="nofollow">http://192.168.1.16/~Jonas/streaming/</a> -f
    /users/jonas/sites/streaming/ -D</em></p>
  </blockquote>
  
  <p>Now i have a playlist m3u8 file locally on my machine. As i understand with the command i download stream divide it into smaller ts files and generate m3u8 file that is like a reference to those ts files. So i've tried to load this, but still no luck. For some reasons i can't even open the m3u8 file in vlc or itunes, it throws me errors. So i guess it is something wrong with the playlist file?</p>
  
  <p>Maybe some of you can see what am i doing wrong here or have some suggestions how to find my problem? I would really appreciate it. </p>