MediaCodecDecoderException


@UnstableApi
public class MediaCodecDecoderException extends DecoderException

Known direct subclasses
MediaCodecVideoDecoderException

Thrown when a failure occurs in a MediaCodec video decoder.


Thrown when a failure occurs in a MediaCodec decoder.

Summary

Public fields

final @Nullable MediaCodecInfo

The MediaCodecInfo of the decoder that failed.

final @Nullable String

An optional developer-readable diagnostic information string.

Public constructors

MediaCodecDecoderException(
    Throwable cause,
    @Nullable MediaCodecInfo codecInfo
)

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Public fields

codecInfo

public final @Nullable MediaCodecInfo codecInfo

The MediaCodecInfo of the decoder that failed. Null if unknown.

diagnosticInfo

public final @Nullable String diagnosticInfo

An optional developer-readable diagnostic information string. May be null.

Public constructors

MediaCodecDecoderException

public MediaCodecDecoderException(
    Throwable cause,
    @Nullable MediaCodecInfo codecInfo
)