Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR_DRM_GENERIC_OEM occurs when playing on specific devices #2142

Open
pineapplevine opened this issue Feb 13, 2025 · 0 comments
Open

ERROR_DRM_GENERIC_OEM occurs when playing on specific devices #2142

pineapplevine opened this issue Feb 13, 2025 · 0 comments

Comments

@pineapplevine
Copy link

When I try to play Widevine DASH (L1) on "Lenovo Tab P11" and "TECLAST P30T", I confirmed "ERROR_DRM_GENERIC_OEM".
I think that this issue is caused by DRM session initialization failed due to the devices performance is poor.
If this issue is caused by the devices performance, is there a solution?
Or should I contact the manufacturer?
Is there a misunderstanding?

============================== Beginning of DRM Plugin Log ==============================
  06-24 17:53:18.569 I No hidl drm factories found
  06-24 17:53:18.573 E Failed to find passthrough drm factories
  06-24 17:53:19.523 I No hidl drm factories found
  06-24 17:53:19.523 E Failed to find passthrough drm factories
  06-24 17:54:01.956 I No hidl drm factories found
  06-24 17:54:01.957 E Failed to find passthrough drm factories
  06-24 17:54:02.159 I [cdm_engine.cpp(994):IsSecurityLevelSupported] level = L1
  06-24 17:54:02.159 I [oemcrypto_adapter_dynamic.cpp(900):Initialize] Level 3 Build Info (v17): OEMCrypto Level3 Code May 20 2022 21:36:56
  06-24 17:54:02.160 I [(0):] Level3 Library 22593 May 20 2022 21:36:56
  06-24 17:54:02.198 I [oemcrypto_adapter_dynamic.cpp(914):Initialize] L3 Initialized. Trying L1.
  06-24 17:54:02.308 W [oemcrypto_adapter_dynamic.cpp(1109):LoadLevel1] Could not load L1 _oecc51.
  06-24 17:54:02.308 W [oemcrypto_adapter_dynamic.cpp(1068):LoadLevel1] Could not load L1 _oecc90.
  06-24 17:54:02.308 W [oemcrypto_adapter_dynamic.cpp(1106):LoadLevel1] Could not load L1 _oecc57.
  06-24 17:54:02.308 W [oemcrypto_adapter_dynamic.cpp(1108):LoadLevel1] Could not load L1 _oecc18.
  06-24 17:54:02.309 W [oemcrypto_adapter_dynamic.cpp(1110):LoadLevel1] Could not load L1 _oecc23.
  06-24 17:54:02.314 I [oemcrypto_adapter_dynamic.cpp(943):Initialize] Level 1 Build Info (v17): Widevine OPK v17.0.2
  06-24 17:54:02.331 I [(0):] L3 Terminate.
  06-24 17:54:02.331 E [oemcrypto_adapter_dynamic.cpp(955):Level1Terminate] L1 Terminate
  06-24 17:54:02.409 I No hidl drm factories found
  06-24 17:54:02.410 E Failed to find passthrough drm factories
  06-24 17:54:02.466 I [oemcrypto_adapter_dynamic.cpp(900):Initialize] Level 3 Build Info (v17): OEMCrypto Level3 Code May 20 2022 21:36:56
  06-24 17:54:02.466 I [(0):] Level3 Library 22593 May 20 2022 21:36:56
  06-24 17:54:02.472 I [oemcrypto_adapter_dynamic.cpp(914):Initialize] L3 Initialized. Trying L1.
  06-24 17:54:02.479 W [oemcrypto_adapter_dynamic.cpp(1068):LoadLevel1] Could not load L1 _oecc90.
  06-24 17:54:02.480 W [oemcrypto_adapter_dynamic.cpp(1106):LoadLevel1] Could not load L1 _oecc57.
  06-24 17:54:02.480 W [oemcrypto_adapter_dynamic.cpp(1108):LoadLevel1] Could not load L1 _oecc18.
  06-24 17:54:02.480 W [oemcrypto_adapter_dynamic.cpp(1109):LoadLevel1] Could not load L1 _oecc51.
  06-24 17:54:02.480 W [oemcrypto_adapter_dynamic.cpp(1110):LoadLevel1] Could not load L1 _oecc23.
  06-24 17:54:02.487 I [oemcrypto_adapter_dynamic.cpp(943):Initialize] Level 1 Build Info (v17): Widevine OPK v17.0.2
  06-24 17:54:02.511 W [device_files.cpp(1989):RetrieveHashedFile] File does not exist: path = /data/vendor/mediadrm/IDM1013/L1/usgtable.bin
  06-24 17:54:02.511 E [device_files.cpp(1689):RetrieveUsageTableInfo] Unable to retrieve usage table file
  06-24 17:54:02.512 W [usage_table_header.cpp(199):RestoreTable] Could not retrieve usage table
  06-24 17:54:02.652 E [crypto_session.cpp(117):MapOEMCryptoResult] Mapping OEMCrypto result: crypto_session_method = CreateUsageTableHeader, result = 28
  06-24 17:54:02.652 E [usage_table_header.cpp(241):CreateNewTable] Failed to create new usage table header
  06-24 17:54:02.652 E [crypto_session.cpp(513):SetUpUsageTableHeader] Failed to initialize and sync usage usage table
  06-24 17:54:02.652 W [crypto_session.cpp(873):Open] Session opened without a usage table
  06-24 17:54:02.653 E [crypto_session.cpp(329):GetProvisioningMethod] OEMCrypto_GetProvisioningMethod failed: method = 0
============================== End of DRM Plugin Log ==============================android.media.MediaDrm$MediaDrmStateException
    at com.google.android.exoplayer2.source.y.a(Unknown Source:62)
    at com.google.android.exoplayer2.source.y.a(Unknown Source:36)
    at com.google.android.exoplayer2.source.y.a(Unknown Source:15)
    at com.google.android.exoplayer2.f.a(Unknown Source:12)
    at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.a(Unknown Source:17)
    at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.a(Unknown Source:31)
    at com.google.android.exoplayer2.p.i(Unknown Source:134)
    at com.google.android.exoplayer2.p.handleMessage(Unknown Source:239)
    ... 4 more
Caused by: java.lang.IllegalStateException: Failed to open session: ERROR_DRM_GENERIC_OEM

ExoPlayer version used:2.18.1
Device:Lenovo Tab P11
Manufacturer:Lenovo
Android version:11
CPU:Qualcomm Snapdragon 662
Memory:4GB
Widevine:L1

ExoPlayer version used:2.18.1
Device:TECLAST P30T
Manufacturer:TECLAST
Android version:14
CPU:Allwinner A523
Memory:4GB
Widevine:L1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants