Cannot get the MPMoviePlayerViewController to play my media file

前端 未结 2 1426
时光取名叫无心
时光取名叫无心 2021-01-26 04:49

Having some issues getting this MPMoviePlayerViewController to work. I have two sample URLs pointing to the same Quicktime movie. The commented out URL doesn\'t work; the othe

相关标签:
2条回答
  • 2021-01-26 05:31

    Thanks for posting your answer. I had the same error with my MPMoviePlayerViewController, and my problem was fixed too when I added support for Range Requests to my php mp4 file streamer. Streaming media to the iPHone requires some specific headers, else you get the "The server is not correctly configured" error.

    I found some great hints for php Range Requests support here: fread, (PHP 4, PHP 5), fread — Binary-safe file read

    0 讨论(0)
  • 2021-01-26 05:51

    Yay I finally got this to work! The reason it was not working was because my WCF services didn't support Range Requests. Apparently iPhone Movie streaming requires range requests.

    I changed my implementation to make direct requests to the Azure blob storage via SAS URLs. Works so far!

    0 讨论(0)
提交回复
热议问题