Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Does iOS 10 support MediaSource yet? #414

Closed
aletorrado opened this issue Jun 14, 2016 · 12 comments
Closed

Question: Does iOS 10 support MediaSource yet? #414

aletorrado opened this issue Jun 14, 2016 · 12 comments
Assignees
Labels
status: archived Archived and locked; will not be updated type: question A question from the community

Comments

@aletorrado
Copy link

Hi,

Have anyone tried the iOS 10 Preview, and tested if it supports MediaSource yet?

Thanks :)

@joeyparrish joeyparrish added the type: question A question from the community label Jun 16, 2016
@joeyparrish joeyparrish self-assigned this Jun 16, 2016
@joeyparrish
Copy link
Member

I had a colleague try our support test page on iOS 10 preview, and it appears that it still does not have MSE support. We'll keep our fingers crossed for iOS 11. :-)

@OrenMe
Copy link
Contributor

OrenMe commented Jun 17, 2016

Asked a developer at WWDC. Doesn't seem like it's in the top of their priorities.
Told me to file an enhancement request radar J.

@neilRGS
Copy link

neilRGS commented Feb 7, 2017

Tested as at Feb 7th 2017. IOS still can't use Shaka (Tried Safari and Chrome on iPad).
Shame on you, Apple!

@ghost
Copy link

ghost commented May 9, 2017

One question though, how does dashjs play on ios?

@joeyparrish
Copy link
Member

@Portmansa, does dashjs indeed play on iOS? I haven't been able to make their demo page work on iOS at all.

caniuse.com reports that MediaSource is still not available on iOS 10.3: http://caniuse.com/#feat=mediasource

Just searching quickly through dashjs source, I see that MediaPlayer's initialize() method fails if MediaSource is not present. Further, the MediaSource check allows for a prefixed version called WebKitMediaSource.

So it would seem that the only way iOS could be supported in dashjs directly is if WebKitMediaSource were available on iOS. I just checked both Safari & Chrome on iOS 10.3, and WebKitMediaSource is not defined.

@ghost
Copy link

ghost commented May 9, 2017

@joeyparrish Yeah, I got it working on iOS with HLS. Live streaming was working too

@joeyparrish
Copy link
Member

iOS has a native HLS implementation. Essentially, when you use HLS with dashjs, you aren't using dashjs for playback at all.

@ghost
Copy link

ghost commented May 9, 2017

@joeyparrish BTW, can shaka player play HLS on iOS?

@joeyparrish
Copy link
Member

Shaka Player only uses MediaSource. If you want to bypass MediaSource, then you don't need Shaka Player. Just do something like video.src = '/foo.m3u8';. I'm not sure what value Shaka Player could add in that scenario.

@mayeaux
Copy link

mayeaux commented Dec 28, 2017

Do we have any idea when Apple plans to support MSE API?

@joeyparrish
Copy link
Member

Sorry, we don't know anything. Any authoritative answers about about future MSE support on iOS would have to come from Apple.

However, we will support a fallback to iOS's native HLS support in #997.

@joeyparrish
Copy link
Member

Oh, and here are links to Apple's bug trackers if you are interested in talking to them:

Apple Bug Reporter: https://developer.apple.com/bug-reporting/
WebKit BugZilla: https://bugs.webkit.org/

@shaka-project shaka-project locked and limited conversation to collaborators Mar 22, 2018
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: question A question from the community
Projects
None yet
Development

No branches or pull requests

6 participants