not throw error when play Widevine Stream on Safari #7855
Labels
browser: Safari
Issues affecting Safari or WebKit derivatives
type: bug
Something isn't working correctly
Milestone
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.12.4/4.12.6
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?
Demo app and my custom app.
If custom app, can you reproduce the issue using our demo app?
No, because I am unable to apply certain configurations on the demo app.
What browser and OS are you using?
Mac Safari
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
https://gsjhj8.vodpackagepull-n4wi23.ap-southeast-1.ice.alibabacloudcs.com/v1/rh94aj308ev9mp5hari8xk1qxmyg7ci1/5xm61cd8dtuend7wev0czv5piwcslpli/b5r8j548syy9dk8zu1ko93m7vy7nk2xo/index.m3u8
What configuration are you using? What is the output of
player.getNonDefaultConfiguration()
?{
"drm": {
"servers": {
"com.apple.fps": "https://license-global.pallycon.com/ri/licenseManager.do"
},
"advanced": {
"com.apple.fps": {
"distinctiveIdentifierRequired": false,
"persistentStateRequired": false,
"videoRobustness": "",
"audioRobustness": "",
"sessionType": "",
"serverCertificateUri": "https://license.pallycon.com/ri/fpsKeyManager.do?siteId=DEMO",
"individualizationServer": ""
}
}
}
}
What did you do?
Try to play this video on Safari.
What did you expect to happen?
Throw error: Shaka Error DRM.REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE ()
Because this stream uses Widevine KeySystem and Safari doesn't support it.
What actually happened?
com.apple.fps
orcom.apple.fps.1_0
as the key for DRM-related configurations, the stream plays without video or audio rendering, but the video progress bar is available and displays a duration.config like:
fairplay
as the key instead, the player throws an error of Shaka Error DRM.REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE (), which is expected.config like:
So my question is:
com.apple.fps
, I think it should throw an error?com.apple.fps
andfairplay
? I see shaka-player-demo usefairplay
but this is not documented if I haven't missed any.Are you planning to send a PR to fix it?
No
The text was updated successfully, but these errors were encountered: