Interface IrdetoDRMConfiguration

Describes the configuration of the Irdeto DRM integration.

const drmConfiguration = {
integration : 'irdeto',
fairplay: {
certificateURL: 'yourIrdetoCertificateUrl',
licenseAcquisitionURL: 'yourIrdetoLicenseAcquisitionURL'
}
crmId: 'yourIrdetoCrmId',
accountId: 'yourIrdetoCrmId',
contentId: 'yourIrdetokeyId',
accountId: 'yourIrdetoCrmId',
applicationId: 'yourIrdeotApplicationId',
}
interface IrdetoDRMConfiguration {
    accountId: string;
    aes128?: AES128KeySystemConfiguration;
    applicationId?: string;
    clearkey?: ClearkeyKeySystemConfiguration;
    contentId: string;
    crmId: string;
    fairplay?: FairPlayKeySystemConfiguration;
    integration: "irdeto";
    integrationParameters?: {
        [parameterName: string]: any;
    };
    keyId?: string;
    playready?: PlayReadyKeySystemConfiguration;
    preferredKeySystems?: (KeySystemId | string & {})[];
    sessionId?: string;
    ticket?: string;
    widevine?: KeySystemConfiguration;
}

Hierarchy (view full)

Properties

accountId: string

The identifier of the Irdeto account.

The configuration of the AES key system.

applicationId?: string

The identifier of the application.


- It must be present for FairPlay.

The configuration of the ClearKey key system.

contentId: string

The identifier of the content.

crmId: string

The identifier of the CRM.


- This ID will be added for license URL requests.

The configuration of the FairPlay key system.

integration

The identifier of the DRM integration.

integrationParameters?: {
    [parameterName: string]: any;
}

An object of key/value pairs which can be used to pass in specific parameters related to a source into a ContentProtectionIntegration.

keyId?: string

The identifier of the key.


- It must be present for FairPlay.

The configuration of the PlayReady key system.

preferredKeySystems?: (KeySystemId | string & {})[]

An ordered list of URNs of key systems as specified by https://dashif.org/identifiers/content_protection/, or one of the following identifiers:

"widevine" alias for "urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed" "fairplay" alias for "urn:uuid:94ce86fb-07bb-4b43-adb8-93d2fa968ca2" "playready" alias for "urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95"

The first key system in this list which is supported on the given platform will be used for playback.

Default value is ['widevine', 'playready', 'fairplay'].

sessionId?: string

The identifier of the session.


- It must be present for registered user flow parameters.
- This is not mandatory in case of free open streams.

ticket?: string

The ticket for registered user flows.


- It must be present for registered user flow parameters.
- This is not mandatory in case of free open streams.

The configuration of the Widevine key system.