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