I am trying to stream mp4 video via PHP. My application loads video from where it is stored in blocks and serves the appropriate parts. Uses these headers:
header("Content-Type: $contenttype");
header("Content-Length: $filesize");
header('Accept-Ranges: bytes');
It can also serve partial content when requested using the following additional headers and outputing the correct bytes:
header('HTTP/1.1 206 Partial Content');
header("Content-Range: bytes $start-$end/$filesize");
Streaming works great in Chrome and via VLC, however will not work on iPad. The test mp4 file is confirmed working on ipad.
Anybody have any luck with this? Any advice would be greatly appreciated!