Apache webserver setup
added:
AddType application/x-mpegURL .m3u8
AddType video/MP2T .ts
to “httpd.conf” file.
Movie file preparation
- I have 3 movie files (9mb – 25mb each).
- Used QuickTime to convert movies into iPhone format.
- Used mediafilesegmenter to convert .m4v into 10-second segments of .ts files, with an accompanying .m3u8 file.
- Placed these in a folder on webserver.
iPhone App implementation
- Created UIWebView whose URL points to http://71.190.235.29/~yujean/stream.html
- Simulator accesses the site and streams the movie-files just fine.
Question
- Will I still get rejected by apple for bandwidth issues over the 3G and/or Edge network?
- Do I need to somehow check which network the end-user is on first? And then provide a different movie accordingly? If so, how do I do that …?
Thank you in advance,
Eugene
We were rejected when we first submitted our mp3 streamer to the app store for excessive bandwidth use. Then we hobbled the app to limit its downloads to 4.5 meg in 5 min, which was accepted by Apple.
You can review that thread for more info on the issue.