DrmDisallowedOperation

The DRM system has prevented the requested operation.

Possible causes for this error include:

  • The license policy does not permit the requested action (e.g. renew or persist of the license). Check the license policy configuration on the license server.

  • The output protection levels supported by the device are not sufficient to meet the requirements set by the content owner in the license policy. You can check the current supported output protection levels using the following code snippet:

val mediaDrm = MediaDrm(WidevineConfig.UUID)
val outputProtectionLevel = mediaDrm.getConnectedHdcpLevel()
  • The security level is inadequate to perform the operation.

  • The key required for decryption has expired.

  • The necessary key has not been loaded into the DRM system.

The message of the according SourceEvent.Error provides more information.

The numeric value associated with this code is 2310.