Skip to content

FairPlay DRM Stopped Working After Upgrading from 4.7.3 to 4.12.6 (Issue Starts at 4.10.0) #8021

Open
@sertacars

Description

Have you read the Tutorials?
Yes

Have you read the FAQ and checked for duplicate open issues?
Yes

If the question is related to FairPlay, have you read the tutorial?

Yes

What version of Shaka Player are you using?
4.12.6

What browser and OS are you using?
Safari - macOS Sequoia

Please ask your question
I recently upgraded Shaka Player in my project from 4.7.3 to 4.12.6 and noticed that FairPlay DRM is no longer working. After testing multiple versions, I found that the issue starts from version 4.10.0.

I checked the release notes and documentation, but I couldn’t find any information on what changes I need to make in my code to fix this issue.

Screenshot of the error for reference:

Image

Additionally, I found that my code does not enter the webkitneedkey event when using versions 4.10.0 or later. Specifically, in the following code, the event handler is never triggered:

const addNeedKeyEventToVideo = () => {
  let video = ref.current;
  video.addEventListener('webkitneedkey', onNeedKey, false);
};

I'm happy to share more code snapshots if needed.

Thanks.

Metadata

Assignees

No one assigned

    Labels

    status: waiting on responseWaiting on a response from the reporter(s) of the issuetype: questionA question from the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions