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

From androidx.media3.exoplayer.mediacodec.MediaCodecDecoderException
MediaCodecInfo?

The MediaCodecInfo of the decoder that failed.

String?

An optional developer-readable diagnostic information string.

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.