OptionalaudioAllows 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:
OptionalcertificateThe 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.
OptionalcustomCustom data which will be passed to the CDM.
OptionaldistinctiveUsed 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:
OptionalheadersRecord of HTTP headers for the licence acquisition request. Each entry contains a header name with associated value.
OptionallicenseThe licence acquisition URL.
OptionalpersistentProperty 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:
OptionalqueryRecord of query parameters for the licence acquisition request. Each entry contains a query parameter name with associated value.
OptionaluseWhether the player is allowed to use credentials for cross-origin requests.
OptionalvideoAllows 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:
Describes the PlayReady key system configuration.