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

Hls.js support with Fairplay? #3599

Closed
AsifDeveloper opened this issue Mar 10, 2021 · 3 comments
Closed

Hls.js support with Fairplay? #3599

AsifDeveloper opened this issue Mar 10, 2021 · 3 comments

Comments

@AsifDeveloper
Copy link

I find that issue #2356 [https://github.com//issues/2356] is closed in 2019.

@itsjamie does hls.js supports Fairplay now? I have to play the video in the safari browser with FairPlay DRM. Help me out with a solution / ideas.

@itsjamie
Copy link
Collaborator

itsjamie commented Mar 10, 2021

No. There is still no implementation of FairPlay in hls.js.

A solution would be contributing a pull request containing the implementation of adding support to the EME controller in hls.js to allow setting up using the FairPlay CDM when it was detected as advertised in the HLS manifest.

While waiting for the review process you could use this new controller by replacing the EME controller through the configuration.

See #EXT-X-KEY in the HLS RFC for a starting point on parsing the FairPlay "skd" identifier.

Second, when the content itself was appended to the MediaSource if there is a PSSH box in your initialisation segment advertising encrypted content this may also raise an "encrypted" event.

@itsjamie
Copy link
Collaborator

See #2833 for additional context on next steps.

@robwalch
Copy link
Collaborator

Closing as duplicate. FairPlay support coming in v1.3.0 with #4930.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants