Interface MKDrmConfig

DRM configuration object to be specified for encrypted source streams.

Hierarchy

  • MKDrmConfig

Properties

ClearKey DRM configuration.

Fairplay DRM configuration.

immediateLicenseRequest?: boolean

When set to true, the license requests are made as soon as init data is available. Otherwise, the license requests are made once data segments are pushed into the buffer.

Default is false.

Playready DRM configuration.

preferredKeySystems?: string[]

When set, defines the key system priority used by the player to choose the key system if multiple key systems are sypported by the platform. Default is unset.

Allowed key system strings: ['widevine', 'playready', 'fairplay']

usingAzuki?: boolean

Indicates whether using MediaKind's TVP Backend (Azuki) for DRM license/certificate acquisition for Apple Fairplay.

This setting is applicable only for MKFairplayDrmConfig.

Default is true which means the SDK implements the following callbacks to process the license and certificates before handing it to the player and the user is not required to implement these callbacks.

If you do not want to use the default implementation and handle this yourself you must set this to false.

Widevine Modular DRM configuration.