Missing HTTP_RANGE on iPhone

I'm trying to deliver MP4 video to an iPhone, but as many of you may have known, this requires a slightly different method. One key aspect is the discovery of $ _SERVER {"HTTP_RANGE '], as shown at http://mobiforge.com/developing/story/content-delivery-mobile-devices and other numerous StackOverflow answers.

I did a print for $ _SERVER and did not find HTTP_RANGE in iOS Simulator and real iPhone. Can someone shed some light for me?

Thank!

+3
source share
1 answer

If an iOS device requests MP4, it performs several requests:

  • The first 2 bytes. I think this is a test to check if the server will match byte range requests.
  • ,
  • 2 .

. , iOS .

iPhone, HTML-, HTTP, , iOS Safari . MP4.

+2

Source: https://habr.com/ru/post/1784814/


All Articles