logo

THEOplayer > DRMConfiguration

DRMConfiguration interface

Describes the configuration of the DRM.

Signature:

export interface DRMConfiguration 

Properties

Property

Type

Description

aes128 (optional)

AES128KeySystemConfiguration

The configuration of the AES key system.

clearkey (optional)

ClearkeyKeySystemConfiguration

The configuration of the ClearKey key system.

fairplay (optional)

FairPlayKeySystemConfiguration

The configuration of the FairPlay key system.

integration (optional)

string

The identifier of the DRM integration.

integrationParameters (optional)

{
[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.

playready (optional)

PlayReadyKeySystemConfiguration

The configuration of the PlayReady key system.

preferredKeySystems (optional)

Array<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'].

widevine (optional)

WidevineKeySystemConfiguration

The configuration of the Widevine key system.

Property Details

aes128

The configuration of the AES key system.

Signature:

aes128?: AES128KeySystemConfiguration;

clearkey

The configuration of the ClearKey key system.

Signature:

clearkey?: ClearkeyKeySystemConfiguration;

fairplay

The configuration of the FairPlay key system.

Signature:

fairplay?: FairPlayKeySystemConfiguration;

integration

The identifier of the DRM integration.

Signature:

integration?: string;

integrationParameters

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

Signature:

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

playready

The configuration of the PlayReady key system.

Signature:

playready?: PlayReadyKeySystemConfiguration;

preferredKeySystems

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'].

Signature:

preferredKeySystems?: Array<KeySystemId | string>;

widevine

The configuration of the Widevine key system.

Signature:

widevine?: WidevineKeySystemConfiguration;
github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona