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

Cannot play HLS/Fairplay content on Safari with V4 #4312

Closed
sobbe81 opened this issue Jun 23, 2022 · 5 comments
Closed

Cannot play HLS/Fairplay content on Safari with V4 #4312

sobbe81 opened this issue Jun 23, 2022 · 5 comments
Labels
component: FairPlay The issue involves the FairPlay DRM priority: P1 Big impact or workaround impractical; resolve before feature release status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@sobbe81
Copy link

sobbe81 commented Jun 23, 2022

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

What version of Shaka Player are you using?
Latest, 4.x

Can you reproduce the issue with our latest release version?
Yes

Can you reproduce the issue with the latest code from main?
Yes

Are you using the demo app or your own custom app?
Custom

If custom app, can you reproduce the issue using our demo app?
Cannot test

What browser and OS are you using?
Safari on Mac

For embedded devices (smart TVs, etc.), what model and firmware version are you using?

What are the manifest and license server URIs?

What configuration are you using? What is the output of player.getConfiguration()?

What did you do?

Played a linear channel or a VOD in Safari.

What did you expect to happen?
Playback to start

What actually happened?

We are having problems playing HLS/Fairplay content with Shaka V4.

The license request towards the license server seems to work as expected. We originally had issue with that the the defaultInitDataTransform has changed so that skd:// was no longer removed in the data sent in the license request (which V3 does). In addition to successful license requests we also see that manifests and media segments are retrieved from our server but playback never starts. After a long period of time we get an error 3016 saying that media cannot be decoded. We can play the same streams using V3 and we can also play unencrypted versions of the streams using V4.

Comparing the logs between V3 and V4 we see differences when it comes to implementation of MediaKeys. If I understand correctly, V4 is using the EME for handling the media keys where as V3 is using a poly-filled version?

We are out of ideas on how to troubleshoot this further. Do you have any suggestions?

Is it possible to configure the implementation of MediaKeys in V4 to at least test to see if that is the root cause?

@sobbe81 sobbe81 added the type: bug Something isn't working correctly label Jun 23, 2022
@avelad avelad added the component: FairPlay The issue involves the FairPlay DRM label Jun 23, 2022
@github-actions github-actions bot added this to the v4.2 milestone Jun 23, 2022
@avelad avelad added the priority: P1 Big impact or workaround impractical; resolve before feature release label Jun 24, 2022
@hiren3897
Copy link

hiren3897 commented Jun 27, 2022

Duplicate #4211

I am having a same issue

@avelad
Copy link
Collaborator

avelad commented Jun 28, 2022

It will be resolved with #4309

@avelad avelad modified the milestones: v4.2, v4.3 Aug 17, 2022
@fredrik-telia

This comment was marked as off-topic.

@avelad
Copy link
Collaborator

avelad commented Aug 17, 2022

@fredrik-telia please open a new issue with your case. Your case is different from this.

@avelad avelad modified the milestones: v4.3, v4.2 Aug 17, 2022
@avelad avelad closed this as completed Aug 17, 2022
@fredrik-telia
Copy link
Contributor

Thanks, will do 👍

@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Oct 16, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: FairPlay The issue involves the FairPlay DRM priority: P1 Big impact or workaround impractical; resolve before feature release status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

4 participants