Verimatrix VCAS Ultra ********************* Code samples: * Verimatrix VCAS Ultra (https://raw.githubusercontent.com/castlabs/prestoplay-web-code-samples/refs/heads/main/examples/drm/verimatrix_vcas.js): 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" (https://players.castlabs.com/web/latest/docs/api/clpp.VerimatrixVcasConfiguration.md) 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" | | | | (https://players.castlabs.com/web/latest/docs/api/clpp.verimatrix.Vcas.LicenseRequestVuidLocation.md). | +-----------------------------------+-----------------------------------+--------------------------------------------------------------------------------------------------------+ | "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" | | | | (https://players.castlabs.com/web/latest/docs/api/clpp.verimatrix.Vcas.LicenseRequestHttpHeader.md). | +-----------------------------------+-----------------------------------+--------------------------------------------------------------------------------------------------------+ | "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" | | | | (https://players.castlabs.com/web/latest/docs/api/clpp.verimatrix.Vcas.FairPlayAssetIdStrategy.md). | +-----------------------------------+-----------------------------------+--------------------------------------------------------------------------------------------------------+ | "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" (https://players.castlabs.com/web/latest/docs/api/clpp.VerimatrixVcasConfiguration.md) and "verimatrix.Vcas" (https://players.castlabs.com/web/latest/docs/api/clpp.verimatrix.Vcas.md).