DrmUnsupported
The provided DRM scheme is not supported on the device.
This error occurs when attempting to use a DRM scheme (like WidevineConfig, ClearKeyConfig, PlayReadyConfig or NagraConnectConfig) that the device does not support. Consider checking the device's capabilities before selecting a DRM scheme, see MediaDrm for additional details.
Example code to check device capabilities:
val supportedCryptoSchemes = MediaDrm.getSupportedCryptoSchemes()
if (supportedCryptoSchemes.contains(WidevineConfig.UUID)) {
// Widevine is supported
} else {
// Widevine is not supported, choose another DRM scheme
}
Content copied to clipboard
For information on how to configure DRM, refer to SourceConfig.drmConfig and the Streaming DRM protected content with Bitmovin Player Android SDK. documentation.
The numeric value associated with this code is2304
.