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

On Safari player unable to access valid metadata for encrypted content #7830

Closed
akash-kush9 opened this issue Jan 6, 2025 · 7 comments
Closed
Labels
component: FairPlay The issue involves the FairPlay DRM type: question A question from the community

Comments

@akash-kush9
Copy link

akash-kush9 commented Jan 6, 2025

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.7.13

What browser and OS are you using?
Safari, Mac

Please ask your question

Why is it that, even after some time, the player stats don't have valid updated values, such as estimatedBandwidth (need for analytics), and the adaptation event isn't triggered at the start?

image

I am assuming issue lies somewhere with SESSION-KEY as I have an asset with a master playlist containing 'EXT-X-SESSION-KEY' and another asset without it. Everything works fine for the later asset, but for the former, I am encountering this issue only in Safari."

EXT-X-SESSION-KEY:METHOD=SAMPLE-AES,KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1",URI="skd://......."

@akash-kush9 akash-kush9 added the type: question A question from the community label Jan 6, 2025
@akash-kush9
Copy link
Author

@joeyparrish , any idea on this, HLS issue?

@avelad
Copy link
Member

avelad commented Jan 7, 2025

Are you using useNativeHlsForFairPlay = true (config)? If yes, I think the problem may be in the browser itself...

@avelad avelad added status: waiting on response Waiting on a response from the reporter(s) of the issue component: FairPlay The issue involves the FairPlay DRM labels Jan 7, 2025
@akash-kush9
Copy link
Author

Yes we are using it, i tried playing encrypted content with the just the shaka player setup and i could see there as well these few values were being set.

@shaka-bot shaka-bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jan 7, 2025
@avelad
Copy link
Member

avelad commented Jan 7, 2025

In that case I think it could be a bug, please open a bug and fill in all the data, include the stream url, how your fairplay license works etc so we can reproduce the error. thanks!

@avelad avelad added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jan 7, 2025
@akash-kush9
Copy link
Author

akash-kush9 commented Jan 9, 2025

I did little debugging on the demo app to get shakaplayer instance when printed instance stats it is showing NaN as well.

image

@shaka-bot shaka-bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jan 9, 2025
@akash-kush9
Copy link
Author

Clear content has valid value:

image

@avelad
Copy link
Member

avelad commented Jan 9, 2025

Bug --> #7856

Thanks @akash-kush9 !

@avelad avelad closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: FairPlay The issue involves the FairPlay DRM type: question A question from the community
Projects
None yet
Development

No branches or pull requests

3 participants