Factory-resetting stored CONNECT licence data
The CONNECT DRM scheme is only available in devices supporting it - typically operators' Android TV Set-top boxes as it requires NAGRA's MediaDrm plug-in for CONNECT libraries. This functionality is available with NAGRA's MediaDrm CONNECT plug-in version 3.3.0 or later.
The CONNECT library in the device stores non-volatile licence data that does not usually get deleted; starting with version 3.3.0 of the plugin, it is possible to delete this data. For more information, refer to the NAGRA Android TV MediaDrm Specification document, provided to NAGRA partners.
Resetting the non-volatile storage does not clear the cached data; a device reboot is required after a factory reset operation.
The CONNECT Player SDK API provides a method to activate this factory reset - connectFactoryReset()
in OTVSDK
.
There are two modes of reset:
- Current - resets CONNECT licence data for this operator (as provided through the Operator Vault)
- All - resets CONNECT licence for all operators.
To be able to call connectFactoryReset()
, you must provide a valid Operator Vault data (in byte array format) along with the reset mode. As usual, the Operator Vault data can be provided through a resource file, or can be fetched from the Operator's licence server (see examples under Playback of PRM encrypted content with NAGRA CONNECT). You can then call the reset method, for example:
OTVSDK.connectFactoryReset(opVault, OTVSDK.ConnectResetType.ALL);