java.lang.IllegalArgumentException: The surface has been released

Stack Overflow | MichelReap | 10 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    If you're not using adaptive playback, you might have to stop(), release() and clean your references from getInputBuffers() and getOutputBuffers()
  2. 0

    MediaCodec failing on S7

    Stack Overflow | 10 months ago | MichelReap
    java.lang.IllegalArgumentException: The surface has been released
  3. 0

    Illegal Exception on MediaCodec.configure

    Stack Overflow | 3 years ago | xiaowoo
    java.lang.IllegalStateException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android MediaCodec configure error, crash

    Stack Overflow | 7 months ago | Levon Vardanyan
    android.media.MediaCodec$CodecException: Error 0xfffffc0e
  6. 0

    What does error code -1010 in Android MediaCodec mean?

    Stack Overflow | 1 year ago | Chickin Nick
    android.media.MediaCodec$CodecException: Error 0xfffffc0e

  1. asvid 2 times, last 10 months ago
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. java.lang.IllegalArgumentException

    The surface has been released

    at android.media.MediaCodec.native_configure()
  2. Android Platform
    MediaCodec.configure
    1. android.media.MediaCodec.native_configure(Native Method)
    2. android.media.MediaCodec.configure(MediaCodec.java:1778)
    2 frames