Serializablepublic static class MediaCodecRenderer.DecoderInitializationException extends Exception
| Modifier and Type | Field | Description |
|---|---|---|
MediaCodecInfo |
codecInfo |
The
MediaCodecInfo of the decoder that failed to initialize. |
String |
diagnosticInfo |
An optional developer-readable diagnostic information string.
|
MediaCodecRenderer.DecoderInitializationException |
fallbackDecoderInitializationException |
If the decoder failed to initialize and another decoder being used as a fallback also failed
to initialize, the
MediaCodecRenderer.DecoderInitializationException for the fallback decoder. |
String |
mimeType |
The mime type for which a decoder was being initialized.
|
boolean |
secureDecoderRequired |
Whether it was required that the decoder support a secure output path.
|
| Constructor | Description |
|---|---|
DecoderInitializationException(Format format,
Throwable cause,
boolean secureDecoderRequired,
int errorCode) |
|
DecoderInitializationException(Format format,
Throwable cause,
boolean secureDecoderRequired,
MediaCodecInfo mediaCodecInfo) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic final String mimeType
public final boolean secureDecoderRequired
@Nullable public final MediaCodecInfo codecInfo
MediaCodecInfo of the decoder that failed to initialize. Null if no suitable
decoder was found.@Nullable public final String diagnosticInfo
@Nullable public final MediaCodecRenderer.DecoderInitializationException fallbackDecoderInitializationException
MediaCodecRenderer.DecoderInitializationException for the fallback decoder. Null if
there was no fallback decoder or no suitable decoders were found.public DecoderInitializationException(Format format, @Nullable Throwable cause, boolean secureDecoderRequired, int errorCode)
public DecoderInitializationException(Format format, @Nullable Throwable cause, boolean secureDecoderRequired, MediaCodecInfo mediaCodecInfo)