DRM device identifier
During decryption of scrambled content, a device identifier is generated by the Widevine Content Decryption Module (CDM) within the browser to identify the instance in messaging with the head end. This DRM device identifier is randomly generated by default.
The CONNECT Player SDK provides the ability for this identifier to be persisted for a longer lifespan.
Persisting the device identifier
If this is desired, the persistentState
parameter must be set to "required"
. For example:
let playerInstance = otvplayer(
"videoPlayer",
// options
{
plugins: {
otvtoolkit: {
drm: {
config: {
tenantId: "customer tenant id",
licenceServer: "customer license server url",
"com.widevine.alpha": {
persistentState: "required"
}
}
}
}
}
},
// loaded callback
function loadedCallback() {
...
}
);
In the absence of the persistentState
configuration parameter or if it is not set to "required"
, the default value is false, which means the device identifier cannot be persisted.