Hi @support team
I am facing crash and application reboot when we are setting DRM Config while playing one content .
Language : Kotlin{Android}
val licenseUrl =
“https://dub-tctr.test.ott.irdeto.com/licenseServer/widevine/v1/irdetoexperience/license?contentId=dev_hdm_dash” // Will Come from Config
val widevineConfig =
WidevineConfig(licenseUrl)
val source =
Source(
SourceConfig(
url = url,
type = getSourceType(url),
title = title,
drmConfig = widevineConfig,
),
)
Trace of crash
androidx.media3.exoplayer.drm.UnsupportedDrmException: android.media.UnsupportedSchemeException: Failed to instantiate drm object: NO_INIT
============================== Beginning of DRM Plugin Log ==============================
05-03 21:37:52.067 I found instance=clearkey version=android.hardware.drm@1.4::IDrmFactory
05-03 21:37:52.067 I found instance=default version=android.hardware.drm@1.0::IDrmFactory
05-03 21:37:52.070 E uuid=[edef8ba979d64ace a3c827dcd51d21ed] No supported hal instance found
============================== End of DRM Plugin Log ==============================
at androidx.media3.exoplayer.drm.FrameworkMediaDrm.newInstance(FrameworkMediaDrm.java:107)
at com.bitmovin.player.core.e0.d.acquireExoMediaDrm(SourceFile:1)
at androidx.media3.exoplayer.drm.DefaultDrmSessionManager.prepare(DefaultDrmSessionManager.java:402)
at androidx.media3.exoplayer.hls.HlsMediaSource.prepareSourceInternal(HlsMediaSource.java:480)
at androidx.media3.exoplayer.source.BaseMediaSource.prepareSource(BaseMediaSource.java:249)
Please support on this
Regards,
Vivek Kumar