Skip to content
This repository was archived by the owner on Jan 5, 2025. It is now read-only.

Problems setting serverCertificate via swift #222

@chadacious

Description

@chadacious

I'm trying to take a base64 encoded string, convert it to Data and set the serverCertificate:

let TEST_SERVER_CERT = [base64EncodedString]
let serverCert = Data.init(base64Encoded: TEST_SERVER_CERT)
player.configure("drm.advanced.com\\.widevine\\.alpha.serverCertificate", with: serverCert!)

I get back [Error]: "Invalid config, wrong type for .drm.advanced.com.widevine.alpha.serverCertificate"

Will keep trying variations and start debugging but thought I would reach out for help in case someone knows what's up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions