It seems both (HLS
and MPEG-DASH
) use the same the Media Source Extension
API. So why does HLS video
only work on IOS. Why doesn't MPEG-DASH
work on IOS? What is the core difference making this "http://nickdesaulniers.github.io/netfix/demo/bufferAll.html" video
not work on IOS? Where is the problem? Is it the new MediaSource
, .addSourceBuffer
, .appendBuffer
, .endOfStream()
or .mp4
file.
Asked
Active
Viewed 8,585 times
12

aman
- 307
- 21
- 48
2 Answers
13
Only apple can answer that, and so far they have not commented.
EDIT: iPadOS 13 will/does support MSE. iOS 14.5 (iPhone) still doesn't not.

DarkKnight
- 5,651
- 2
- 24
- 36

szatmary
- 29,969
- 8
- 44
- 57
-
4There is nothing to debug. It is a fact that apple does not support MSE in iOS. The extension hence API simply doesn’t exist in the browser. – szatmary Oct 26 '18 at 16:18
-
1The thing is i want to make a HLS video player from scratch. And i can’t find a specific source showing beginning steps of how to make a HLS video player. As in I made a DASH type video player using this http://nickdesaulniers.github.io/netfix/demo/bufferAll.html. It clearly shows how the video is retrieved and appended into the player. I can’t find a similar source like this for making a HLS player. What should i do? Do i have no choice but to use a pre made hls.js (its just i don’t know how to customise it then for my specific needs, its so long)? – aman Oct 27 '18 at 09:03
-
4It doesn’t matter what you want to do. There is no way to do that on safari on iOS. The ONLY way to play video in safari on iOS is to set the src filed in the video tag to the m3u8 or mp4 file. – szatmary Oct 27 '18 at 12:02
-
I want to make a web video playe for IOS which can switch the video’s type (2d or 3d), video quality (2160p to 144p), video fps (60fps to 30fps), audio and subtitles (English to french). I have a video file and i have converted the video into different video files of all the above switching types. Wait ill upload my project. So can m3u8 switch things like this? – aman Oct 27 '18 at 23:35
-
This is an new question. Please make a new post. – szatmary Oct 28 '18 at 00:26
-
New question: https://stackoverflow.com/questions/53036652/how-to-make-a-hls-video-player-from-my-custom-make-dash-like-video-player – aman Oct 28 '18 at 22:32
-
What do you think of the new post? – aman Oct 30 '18 at 05:09
-
szatmary - Can you help me with this question? : https://stackoverflow.com/questions/53586596/how-to-create-video-and-audio-files-for-the-media-source-extension-api – aman Dec 05 '18 at 00:13
2
New information: Our iPhone, 16.5.1, has support for MediaSource, tucked behind an experimental flag. Default setting is 'off'.
When turned on, it seems to work about the same as the iPad.

Brian Button
- 63
- 6
-
`MediaSource` class exists, yes, but it seems like `MediaSource.isTypeSupported` returns false for all values: https://cconcolato.github.io/media-mime-support/ (tested on iOS 16.6) – Mikael Finstad Aug 01 '23 at 15:11