Skip to content

Getting keySystemNoAccess error for FairPlay DRM #6214

Closed Answered by jordi-ander
jordi-ander asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to find a solution to my problem.

First, I removed the robustness as Rob suggested. According to Shaka Player DRM configuration, Apple's Documentation states the robustness should be an empty string.

Secondly, the Irdeto service providing me with the DRM key was expecting com.apple.fps.1_0 while HLS was expecting com.apple.fps. To work around this, I added a mapping to the requestMediaKeySystemAccessFunc

requestMediaKeySystemAccessFunc: (keySystem, supportedConfigurations) => {
  if (keySystem === 'com.apple.fps') {
      // @ts-ignore
      keySystem = 'com.apple.fps.1_0';
  }
  return navigator.requestMediaKeySystemAccess(keySystem, supportedConfigurations);
}

I also updating…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@jordi-ander
Comment options

@jordi-ander
Comment options

@robwalch
Comment options

@robwalch
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by robwalch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants