On Safari player unable to access valid metadata for encrypted content #7856
Labels
component: FairPlay
The issue involves the FairPlay DRM
status: working as intended
The behavior is intended; this is not a bug
Have you read the FAQ and checked for duplicate open issues?
Yes
If the problem is related to FairPlay, have you read the tutorial?
Yes
What version of Shaka Player are you using?
4.7.13
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 app
If custom app, can you reproduce the issue using our demo app?
Yes, i can reproduce the issue with the given encrypted on shaka player demo site.
https://shaka-player-demo.appspot.com/demo/#audiolang=en-IN;textlang=en-IN;uilang=en-IN;assetBase64=eyJuYW1lIjoiQmlnIEJ1Y2sgQnVubnkgKEZhaXJQbGF5KSIsInNob3J0TmFtZSI6IiIsImljb25VcmkiOiJodHRwczovL3N0b3JhZ2UuZ29vZ2xlYXBpcy5jb20vc2hha2EtYXNzZXQtaWNvbnMvYmlnX2J1Y2tfYnVubnkucG5nIiwibWFuaWZlc3RVcmkiOiJodHRwczovL25hLWZwcy5lemRybS5jb20vZGVtby9lemRybS9tYXN0ZXIubTN1OCIsInNvdXJjZSI6IkVaRFJNIiwiZm9jdXMiOmZhbHNlLCJkaXNhYmxlZCI6ZmFsc2UsImV4dHJhVGV4dCI6W10sImV4dHJhVGh1bWJuYWlsIjpbXSwiZXh0cmFDaGFwdGVyIjpbXSwiY2VydGlmaWNhdGVVcmkiOm51bGwsImRlc2NyaXB0aW9uIjpudWxsLCJpc0ZlYXR1cmVkIjpmYWxzZSwiZHJtIjpbIkZhaXJwbGF5IERSTSJdLCJmZWF0dXJlcyI6WyJIaWdoIGRlZmluaXRpb24iLCJITFMiLCJNUDQiLCJWT0QiXSwibGljZW5zZVNlcnZlcnMiOnsiX190eXBlX18iOiJtYXAiLCJjb20uYXBwbGUuZnBzIjoiaHR0cHM6Ly9mcHMuZXpkcm0uY29tL2FwaS9saWNlbnNlcy9iOTllZDllNS1jNjQxLTQ5ZDEtYmZhOC00MzY5MmI2ODZkZGIifSwib2ZmbGluZUxpY2Vuc2VTZXJ2ZXJzIjp7Il9fdHlwZV9fIjoibWFwIn0sImxpY2Vuc2VSZXF1ZXN0SGVhZGVycyI6eyJfX3R5cGVfXyI6Im1hcCJ9LCJyZXF1ZXN0RmlsdGVyIjpudWxsLCJyZXNwb25zZUZpbHRlciI6bnVsbCwiY2xlYXJLZXlzIjp7Il9fdHlwZV9fIjoibWFwIn0sImV4dHJhQ29uZmlnIjp7ImRybSI6eyJhZHZhbmNlZCI6eyJjb20uYXBwbGUuZnBzIjp7InNlcnZlckNlcnRpZmljYXRlVXJpIjoiaHR0cHM6Ly9mcHMuZXpkcm0uY29tL2RlbW8vdmlkZW8vZWxlaXN1cmUuY2VyIn19LCJzZXJ2ZXJzIjp7ImNvbS5hcHBsZS5mcHMiOiJodHRwczovL2Zwcy5lemRybS5jb20vYXBpL2xpY2Vuc2VzL2I5OWVkOWU1LWM2NDEtNDlkMS1iZmE4LTQzNjkyYjY4NmRkYiJ9fX0sImV4dHJhVWlDb25maWciOm51bGwsImFkVGFnVXJpIjpudWxsLCJpbWFWaWRlb0lkIjpudWxsLCJpbWFBc3NldEtleSI6bnVsbCwiaW1hQ29udGVudFNyY0lkIjpudWxsLCJpbWFNYW5pZmVzdFR5cGUiOm51bGwsIm1lZGlhVGFpbG9yVXJsIjpudWxsLCJtZWRpYVRhaWxvckFkc1BhcmFtcyI6bnVsbCwidXNlSU1BIjp0cnVlLCJtaW1lVHlwZSI6bnVsbH0=;panel=ALL_CONTENT;panelData=drm:FAIRPLAY,HLS;build=uncompiled
What browser and OS are you using?
Safari Mac
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?
There are issue with client data so providing one is not possible. But i can reproduce issue with demo app.
What configuration are you using? What is the output of
player.getNonDefaultConfiguration()
?Basic configurations
What did you do?
Play encrypted content and get player stats value, few metadata are assigned NaN
What did you expect to happen?
Some valid values are assigned to metadata ex. streamBandwidth etc.
Adaption event is fired if possible when playback quality changes
What actually happened?
There is no "Adaption" event for encrypted content, some metadata are marked with NaN even at the end of playback
Are you planning to send a PR to fix it?
No
#7830
The text was updated successfully, but these errors were encountered: