Class MediaCodecDecoderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.android.exoplayer2.decoder.DecoderException
-
- com.google.android.exoplayer2.mediacodec.MediaCodecDecoderException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MediaCodecVideoDecoderException
@Deprecated public class MediaCodecDecoderException extends DecoderException
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Thrown when a failure occurs in aMediaCodec
decoder.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description MediaCodecInfo
codecInfo
Deprecated.TheMediaCodecInfo
of the decoder that failed.String
diagnosticInfo
Deprecated.An optional developer-readable diagnostic information string.
-
Constructor Summary
Constructors Constructor Description MediaCodecDecoderException(Throwable cause, MediaCodecInfo codecInfo)
Deprecated.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
codecInfo
@Nullable public final MediaCodecInfo codecInfo
Deprecated.TheMediaCodecInfo
of the decoder that failed. Null if unknown.
-
diagnosticInfo
@Nullable public final String diagnosticInfo
Deprecated.An optional developer-readable diagnostic information string. May be null.
-
-
Constructor Detail
-
MediaCodecDecoderException
public MediaCodecDecoderException(Throwable cause, @Nullable MediaCodecInfo codecInfo)
Deprecated.
-
-