PHPz2017-04-17 14:21:54
This needs to be looked at in detail. Generally speaking, the encoding of MP4 should be MPEG or H.264 encoding. Specifically, it depends on whether the IOS system supports it. Although HTML5 adds many features to browsers, the degree of support for it varies on different devices. Need to look at it in detail.
PHP中文网2017-04-17 14:21:54
Just add two headers
context.Response.Headers.Add("Accept-Ranges", "bytes");
context.Response.Headers.Add("ETag", HashUtil.QuickComputeHash(target));
Reference: http://onoffswitch.net/streaming-video-ios-device-custom-httphandler-asp-net/