Interface MKPlayReadyDrmConfig

PlayReady DRM configuration.

Hierarchy

  • MKPlayReadyDrmConfig

Properties

LA_URL?: string

An URL to the PlayReady license server.

Can be defined here in the configuration or determined from the video manifest if defined in it.

If the configuration here contains the URL then it has precedence over the URL defined in the manifest.

customData?: string

A custom data string sent along with the license request.

This is only supported in browsers using the legacy Microsoft prefixed EME (IE, Edge legacy.).

forceSSL?: boolean

Specifies whether to upgrade all license requests to use SSL.

headers?: MKHeaders

An object which specifies custom HTTP headers.

licenseRequestRetryDelay?: number

Specifies how long in milliseconds should be waited before a license request should be retried.

maxLicenseRequestRetries?: number

Specifies how often a license request should be retried if it was not successful.

Default is 1 and a value of 0 will disable retries.

plaintextChallenge?: boolean

Specifies, whether the Challenge in the keymessage is provided in plaintext rather than being Base64 encoded.

On most desktop browsers, the Challenge is Base64 encoded, which requires additional preprocessing before a license request can be sent.

Devices like smart TV's or STB's often already provide a plaintext challenge in the key message, so the preprocessing step can be skipped.

Default value is false.

utf8message?: boolean

Specifies, whether the keymessage provided by the browser is already UTF-8 encoded.

On most desktop browsers, the keymessage is UTF-16 encoded, which requires additional preprocessing before a license request can be sent.

Devices like smart TV's or STB's often already provide a UTF-8 encoded key message, so the preprocessing step can be skipped.

Default value is false.

withCredentials?: boolean

Set to true to send credentials such as cookies or authorization headers along with the license request.

Default value is false.