Optional
audioAllows to configure the robustness level required for audio data. The robustness level can be used to define the DRM security level. If the security level requested is not available on the platform, playback will fail.
Following values are supported for Widevine:
Optional
certificateThe certificate for the key system. This can be either an ArrayBuffer or Uint8Array containing the raw certificate bytes or a base64-encoded variant of this.
Optional
customCustom data which will be passed to the CDM.
Optional
distinctiveUsed to indicate if media key sessions can be shared across different instances, for example different browser profiles, player instances or applications. The player will forward this information to the CDM when requesting access to the media key system. Available values are:
Optional
headersRecord of HTTP headers for the licence acquisition request. Each entry contains a header name with associated value.
Optional
licenseThe licence acquisition URL.
- If provided, the player will send license requests for the intended DRM scheme to the provided value.
- If not provided, the player will use the default license acquisition URLs.
Optional
Internal
licenseThe licence type.
Optional
persistentProperty to indicate whether the ability to persist state is required. This includes session data and any other type of state. The player will forward this information to the CDM when requesting access to the media key system.
Available values are:
Optional
queryRecord of query parameters for the licence acquisition request. Each entry contains a query parameter name with associated value.
Optional
useWhether the player is allowed to use credentials for cross-origin requests.
- Credentials are cookies, authorization headers or TLS client certificates.
false
Optional
videoAllows to configure the robustness level required for video data. The robustness level can be used to define the DRM security level. If the security level requested is not available on the platform, playback will fail.
Following values are supported for Widevine:
Generated using TypeDoc
Describes the PlayReady key system configuration.