MediaCodecVideoDecoderException


@UnstableApi
class MediaCodecVideoDecoderException : MediaCodecDecoderException


Thrown when a failure occurs in a MediaCodec video decoder.

Summary

Public constructors

MediaCodecVideoDecoderException(
    cause: Throwable!,
    codecInfo: MediaCodecInfo?,
    surface: Surface?
)

Public properties

Boolean

Whether the surface was valid when the exception occurred.

Int

The identityHashCode of the surface when the exception occurred.

Inherited 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

MediaCodecVideoDecoderException

MediaCodecVideoDecoderException(
    cause: Throwable!,
    codecInfo: MediaCodecInfo?,
    surface: Surface?
)

Public properties

isSurfaceValid

val isSurfaceValidBoolean

Whether the surface was valid when the exception occurred.

surfaceIdentityHashCode

val surfaceIdentityHashCodeInt

The identityHashCode of the surface when the exception occurred.