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

Set serverCertificate via Reference UI #4615

Open
dsilhavy opened this issue Nov 6, 2024 · 0 comments
Open

Set serverCertificate via Reference UI #4615

dsilhavy opened this issue Nov 6, 2024 · 0 comments

Comments

@dsilhavy
Copy link
Collaborator

dsilhavy commented Nov 6, 2024

Description

The EME provides a method to set a server certificate: https://www.w3.org/TR/encrypted-media/#dom-mediakeys-setservercertificate

dash.js exposes this API via the ProtectionController and also allows application to provide the certificate within the protectionData:

        var protData = {
            "com.widevine.alpha": {
                "serverURL": "https://someurl.com",
                "httpRequestHeaders": {
                    "X-AxDRM-Message": "somevalue"
                },
               serverCertificate: "somedata",
                priority: 0
            }
        };

It should be possible to provide a server certificate via the dash.js Reference UI as part of the DRM options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants