FairPlay in Safari IOS

Hi everyone!


Could anyone tell should hls+fairplay content works in safari ios?

i've heard that it depends on safari ans ios version, and should work in ios 11. Is it right?

Replies

Sorry xuxentao, I'm not coming with an answer ! 🙂

Actually, I'm also wonring the exact same question ...

Apple anyone ?

@Eskimo ?


O.

My understanding is that FairPlay is not supported in iOS Safari.
For iOS you need to make an app.


FairPlay works in macOS Safari.

Like Anders.u said, FairPlay Streaming (FPS) is not supported in iOS Safari, you need to make a native App like the one in the FPS SDK hosted on: https://developer.apple.com/streaming/fps/


The thing I would like to add, xuventao please file an enhacement request for FairPlay Streaming in iOS Safari using our bug reporting system at: https://developer.apple.com/bug-reporting/

As far as I know, fairplay is work well with fmp4. What I doubt is that if fairplay is work well with hevc ? It's well known that hevc has been support by hls through fmp4 since 2017 WWDC.

I tested myself in december 2017, Safari mobile 11 on iOS 11.2 and up works with FairPlay (com.apple.fps.1_0).


With the debugger tools, I did


new window.WebKitMediaKeys('com.apple.fps.1_0'); that works on iOS 11.2 and up.

com.apple.fps.2_0 doesn't work though, I caught an javascript error.


And the fairplay encrypted video that i have plays right.🙂


Here is another topic about fairplay

https://discussions.apple.com/thread/7905980

is this still correct? the answers below seem to say it works?!

Castlabs and THEOplayer report that fairplay encrypted video can work on Safari and iOS too.


https://castlabs.com/news/safari-on-ios-now-supports-fairplay-streaming-drm/

https://www.theoplayer.com/blog/apple-brings-safari-browser-fairplay-drm

I'm able to display and play from our Hosted Azure Media Player, it will likely work with an HTM 5 player also.

The player explicitly gets the content key and cert. I don't know it there is any way to do it beyond that.


Plays both in Safari and SafariViewController on 11.2


We are hoping to find out if it wil work in the WkWebview which would be more ideal for us. But I suspect

that the WkWebview doesn't support the Media Extensiion ApI


I have not tried it , but as long as you are able to obtain the valid cert from the license server

I suspect the sample HTLM5 player provided with the FPS development kit should work .