SSM v2
Example Code
Configuration of the player for SSP is described in the Browsers and Connected TV SDK 5 Integration Guide. To enable SSM V2 support, similarly to V1 add the ssmServer
member to the config object used to configure the player toolkit DRM, but in addition specify the system as "nagra-ssp-v2"
.
{
system: "nagra-ssp-v2",
config: {
mode: "token",
tenantId: myTenantId,
licenceServer: sspLicenceServerUrl,
ssmServer: ssmServerUrl
}
}
Teardown on navigate or browser close
As with V1 handling for teardown on navigation away or browser tab closure, the current session is not torn down automatically. See SSM v1 for more details.
SSM events
As with V1 the application can register for SSM error events. See SSM v1 for more details.