Error setting a custom asset with certificate. #1914
Labels
component: demo page
The issue is in the demo page; does not affect production applications
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
Have you read the FAQ and checked for duplicate open issues? Yes
What version of Shaka Player are you using? Master
Can you reproduce the issue with our latest release version? N/A
Can you reproduce the issue with the latest code from
master
? YesAre you using the demo app or your own custom app? Demo App
If custom app, can you reproduce the issue using our demo app?
What browser and OS are you using?
Safari 12.1 Mojave
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
Any with a certificate url (with a fake custom asset the issue is reproducible)
What did you do?
Create a custom asset with certificate uri
What did you expect to happen?
No errors
What actually happened?
Uncaught (in promise) TypeError: Cannot set property 'serverCertificate' of undefined
at ShakaDemoMain.drmConfiguration_ (main.js:693)
at async ShakaDemoMain.loadAsset (main.js:725)
I think that the issue is in https://github.com/google/shaka-player/blob/master/demo/main.js#L693
The text was updated successfully, but these errors were encountered: