Throwable cause
boolean isRecoverable
This is only used internally by ExoPlayer to try to recover from some errors and should not be used by apps.
If the ExoPlaybackException.type
is ExoPlaybackException.TYPE_RENDERER
, it may be possible to recover from the error
by disabling and re-enabling the renderers.
MediaPeriodId mediaPeriodId
MediaPeriodId
of the media associated with this error, or null if undetermined.Format rendererFormat
ExoPlaybackException.type
is ExoPlaybackException.TYPE_RENDERER
, this is the Format
the renderer was using
at the time of the exception, or null if the renderer wasn't using a Format
.int rendererFormatSupport
ExoPlaybackException.type
is ExoPlaybackException.TYPE_RENDERER
, this is the level of C.FormatSupport
of the
renderer for ExoPlaybackException.rendererFormat
. If ExoPlaybackException.rendererFormat
is null, this is C.FORMAT_HANDLED
.int rendererIndex
ExoPlaybackException.type
is ExoPlaybackException.TYPE_RENDERER
, this is the index of the renderer, or C.INDEX_UNSET
if unknown.String rendererName
ExoPlaybackException.type
is ExoPlaybackException.TYPE_RENDERER
, this is the name of the renderer, or null if
unknown.long timestampMs
SystemClock.elapsedRealtime()
when this exception was created.int type
ExoPlaybackException.Type
of the playback failure.int timeoutOperation
int audioTrackState
AudioTrack
's state.Format format
Format
of the sink when the error occurs.boolean isRecoverable
int errorCode
AudioTrack
, this will be the error value returned from
AudioTrack.write(byte[], int, int)
or AudioTrack.write(ByteBuffer, int, int)
.
Otherwise, the meaning of the error code depends on the sink implementation.Format format
Format
of the sink when the error occurs.boolean isRecoverable
int currentCapacity
int requiredCapacity
int errorCode
long bytesLoaded
DataSpec dataSpec
DataSpec
associated with the request.Map<String,List<String>> responseHeaders
Uri uriAfterRedirects
Uri
after redirections, or dataSpec.uri
if no redirection
occurred.int reason
int cronetConnectionStatus
UrlRequest.Status
.int errorCode
MediaCodecInfo codecInfo
MediaCodecInfo
of the decoder that failed. Null if unknown.String diagnosticInfo
MediaCodecInfo codecInfo
MediaCodecInfo
of the decoder that failed to initialize. Null if no suitable
decoder was found.String diagnosticInfo
MediaCodecRenderer.DecoderInitializationException fallbackDecoderInitializationException
MediaCodecRenderer.DecoderInitializationException
for the fallback decoder. Null if
there was no fallback decoder or no suitable decoders were found.String mimeType
boolean secureDecoderRequired
int reason
int reason
int type
AdsMediaSource.AdLoadException.Type
of the ad load exception.Uri url
Uri url
int reason
DataSourceException
. It can only be DataSourceException.POSITION_OUT_OF_RANGE
.String contentType
Map<String,List<String>> headerFields
byte[] responseBody
int responseCode
String responseMessage
boolean isSurfaceValid
int surfaceIdentityHashCode
System.identityHashCode(Object)
of the surface when the exception occurred.