android.media.MediaCodec$CryptoException: Error decrypting data: requested key has not been loaded

GitHub | baseballbrad3 | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    DRM protected file playback issue

    GitHub | 3 months ago | Nodjo
    com.google.android.exoplayer2.ExoPlaybackException

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. android.media.MediaCodec$CryptoException

      Error decrypting data: requested key has not been loaded

      at android.media.MediaCodec.native_queueSecureInputBuffer()
    2. Android Platform
      MediaCodec.queueSecureInputBuffer
      1. android.media.MediaCodec.native_queueSecureInputBuffer(Native Method)
      2. android.media.MediaCodec.queueSecureInputBuffer(MediaCodec.java:2292)
      2 frames
    3. Custom implementation of exoplayer with slow motion
      ExoPlayerImplInternal.handleMessage
      1. com.google.android.exoplayer.MediaCodecTrackRenderer.feedInputBuffer(MediaCodecTrackRenderer.java:644)
      2. com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:460)
      3. com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:431)
      4. com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:213)
      4 frames
    4. Android Platform
      HandlerThread.run
      1. android.os.Handler.dispatchMessage(Handler.java:98)
      2. android.os.Looper.loop(Looper.java:148)
      3. android.os.HandlerThread.run(HandlerThread.java:61)
      3 frames
    5. Custom implementation of exoplayer with slow motion
      PriorityHandlerThread.run
      1. com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)
      1 frame