public static class MediaCodecRenderer.DecoderInitializationException extends Exception
Modifier and Type | Field and Description |
---|---|
String |
decoderName
The name 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 and Description |
---|
DecoderInitializationException(Format format,
Throwable cause,
boolean secureDecoderRequired,
int errorCode) |
DecoderInitializationException(Format format,
Throwable cause,
boolean secureDecoderRequired,
String decoderName) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public final String mimeType
public final boolean secureDecoderRequired
public final String decoderName
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.