Verimatrix VCAS Ultra

Code samples

  • Verimatrix VCAS Ultra: a DRM-protected DASH or HLS stream with licenses from Verimatrix VCAS Ultra license servers.

The SDK supports Verimatrix VCAS Ultra DRM with the VerimatrixVCAS environment, provided by the cl.verimatrix component.

Import the component:

import "@castlabs/prestoplay/cl.verimatrix";

Open the stream with configuration:

const player = new clpp.Player(...);

player.open({
  source: 'https://your.server/encrypted-asset.mpd',
  drm: {
    env: 'VerimatrixVCAS',
    customData: {
      deviceId: "myDeviceID",
      widevineLicenseUrl: 'https://widevine.keyserver:port/',
      playReadyLicenseUrl: 'https://playready.keyserver:port/',
      fairPlayLicenseUrl: 'https://fairplay.keyserver:port/',
      fairPlayCertificateUrl: 'https://fairplay.cert/fairplay.cer'
    }
  }
});

Specific VerimatrixVcasConfiguration properties of the Verimatrix VCAS Ultra DRM environment, set under drm.customData:

Property

Required

Description

deviceId

Yes

The device’s Verimatrix unique identifier (VUID).

authenticator

No

Optional third-party authentication to the Subscriber Management System (SMS).

licenseRequestVuidLocation

No

Method for passing deviceId and authenticator (if defined) to the license server. Default: QUERY_STRING. See verimatrix.Vcas.LicenseRequestVuidLocation.

httpHeaderNames

No

Custom HTTP header names for passing deviceId and authenticator to the license server. Used only when licenseRequestVuidLocation is HTTP_HEADER. See verimatrix.Vcas.LicenseRequestHttpHeader.

widevineLicenseUrl

Yes

The Widevine license server URL.

playReadyLicenseUrl

Yes

The PlayReady license server URL.

fairPlayLicenseUrl

Yes

The FairPlay license server URL.

fairPlayCertificateUrl

Yes

The FairPlay certificate URL.

fairPlayAssetIdStrategy

No

The FairPlay asset ID acquisition strategy. Default: KEYID. See verimatrix.Vcas.FairPlayAssetIdStrategy.

fairPlaySiteId

No

The unique identifier of the site the subscriber is associated with. Used only together with fairPlayAssetIdStrategy set to CONTENTID_SITEID.

Use the demo player configuration form to generate and test a configuration for Verimatrix VCAS Ultra DRM: select Verimatrix VCAS Ultra as the DRM environment and fill in the form with your data.

For more details, see VerimatrixVcasConfiguration and verimatrix.Vcas.

Previous topic: Header-based DRM