Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PlayReadyDRMConfig

Hierarchy

  • PlayReadyDRMConfig

Index

Properties

Optional LA_URL

LA_URL: string

An URL to the PlayReady license server for this content (optional).

Optional headers

headers: Header[]

An array of objects which specify custom HTTP headers.

DRMtoday by castLabs Specific Example:

headers : [{
  name: 'dt-custom-data',
  value: 'INSERT-YOUR-BASE64-ENCODED-CUSTOMDATA'
}]

Optional licenseRequestRetryDelay

licenseRequestRetryDelay: number

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

Optional maxLicenseRequestRetries

maxLicenseRequestRetries: number

Specifies how often a license request should be retried if was not successful (e.g. the license server was not reachable). Default is 1. 0 disables retries.

Optional mediaKeySystemConfig

mediaKeySystemConfig: Object

An object which allows to specify configuration options of the DRM key system, such as distinctiveIdentifier or persistentState (refer to MediaKeySystemConfiguration for more details). Please note that these settings need to be supported by the browser or playback will fail.

Optional withCredentials

withCredentials: boolean

Set to true to send credentials such as cookies or authorization headers along with the license requests. Default is false.

Generated using TypeDoc