MediaCodecDecoderException


@UnstableApi
class MediaCodecDecoderException : 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 constructors

Public properties

MediaCodecInfo?

The MediaCodecInfo of the decoder that failed.

String?

An optional developer-readable diagnostic information string.

Int

An optional error code reported by the codec.

Public constructors

MediaCodecDecoderException

MediaCodecDecoderException(cause: Throwable!, codecInfo: MediaCodecInfo?)

Public properties

codecInfo

val codecInfoMediaCodecInfo?

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

diagnosticInfo

val diagnosticInfoString?

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

errorCode

val errorCodeInt

An optional error code reported by the codec. May be 0 if no error code could be obtained.