BitmovinApiSdk\Models\CencDrm
Synopsis
class CencDrm
extends Drm
{
- // members
- public string $key;
- public string $kid;
- public EncryptionMode $encryptionMode;
- public IvSize $ivSize;
- public bool $enablePiffCompatibility;
- public CencWidevine $widevine;
- public CencPlayReady $playReady;
- public CencMarlin $marlin;
- public CencFairPlay $fairPlay;
- // Inherited members from Drm
- public array $outputs;
- public static string $discriminatorName;
- public static array $discriminatorMapping;
- // Inherited members from BitmovinResource
- public string $name;
- public string $description;
- public Carbon $createdAt;
- public Carbon $modifiedAt;
- public mixed $customData;
- // Inherited members from BitmovinResponse
- public string $id;
- // methods
- public void __construct()
- public $this key()
- public $this kid()
- public $this encryptionMode()
- public $this ivSize()
- public $this enablePiffCompatibility()
- public $this widevine()
- public $this playReady()
- public $this marlin()
- public $this fairPlay()
- // Inherited methods from Drm
- public void __construct()
- public $this outputs()
- // Inherited methods from BitmovinResource
- public void __construct()
- public $this name()
- public $this description()
- public $this customData()
- // Inherited methods from BitmovinResponse
- public void __construct()
- // Inherited methods from ApiResource
- public void __construct()
- public static $this create()
- public void toArray()
Hierarchy
Extends
Members
public
- $createdAt — Carbon\Carbon
- $customData — mixed
- $description — string
- $discriminatorMapping
- $discriminatorName
- $enablePiffCompatibility — BitmovinApiSdk\Models\bool
- $encryptionMode — BitmovinApiSdk\Models\EncryptionMode
- $fairPlay — BitmovinApiSdk\Models\CencFairPlay
- $id — string
- $ivSize — BitmovinApiSdk\Models\IvSize
- $key — string
- $kid — string
- $marlin — BitmovinApiSdk\Models\CencMarlin
- $modifiedAt — Carbon\Carbon
- $name — string
- $outputs — \BitmovinApiSdk\Models\EncodingOutput[]
- $playReady — BitmovinApiSdk\Models\CencPlayReady
- $widevine — BitmovinApiSdk\Models\CencWidevine
Methods
public
- __construct()
- enablePiffCompatibility() — Enables compatibility with the Protected Interoperable File Format (PIFF) specification
- encryptionMode() — The encryption method to use. Default is `CTR` (required)
- fairPlay() — Configuration for FairPlay DRM
- ivSize() — Size of the initialization vector
- key() — 16 byte encryption key, 32 hexadecimal characters (required)
- kid() — 16 byte encryption key id. Required for any other DRM but FairPlay
- marlin() — Configuration for Marlin DRM
- playReady() — Configuration for PlayReady DRM
- widevine() — Configuration for Widevine DRM
Inherited from BitmovinApiSdk\Models\Drm
public
- outputs() — outputs
Inherited from BitmovinApiSdk\Models\BitmovinResource
public
- customData() — User-specific meta data. This can hold anything.
- description() — Description of the resource. Can be freely chosen by the user.
- name() — Name of the resource. Can be freely chosen by the user.