Android SDK Errors Reference (Android)
Identify Android SDK errors
This document will cover the SDK-specific error codes. The sources for these errors include:
- Player Javascript components, and loading of said components
- Native ExoPlayer provider and the exceptions it may throw
- Native features such as Picture-In-Picture
The error codes follow a specific schema:
Name | Description |
---|---|
Severity | Β
|
Category Sub-category | Categories include features, providers, and other logical groups or components of the player. |
Type | Type of error identified by the last three digits of the error code. |
Code | Identifier for the error Error code descriptions are listed on this page. |
Use the sections below to help you troubleshoot and programmatically handle player-related issues.
Setup Errors
Miscellaneous
Player
The player can still emit loading errors when trying to load web player assets such as jwplayer.core.js
and the codes and error messages for those events are documented here: Player errors reference.
Loading JS Components
Player Errors
Provider
These errors are generated due to ExoPlayer exceptions.
Miscellaneous
Exoplayer2
DataSource
MediaCodec
Code | Reason | Exception | Name | Displayed Message |
---|---|---|---|---|
272000 | Thrown when a failure occurs in the decoder. | MediaCodecRenderer.DecoderException | GENERIC_DECODER_ERROR | This video file cannot be played. |
272001 | Thrown when a failure occurs instantiating a decoder. | MediaCodecRenderer.DecoderInitializationException | DECODER_INIT_ERROR | This video file cannot be played. |
272002 | Thrown when a failure occurs instantiating a decoder. | MediaCodecRenderer.DecoderInitializationException | DECODER_INIT_ERROR_UNSUPPORTED | This video file cannot be played. |
272003 | Thrown when an error occurs querying the device for its underlying media capabilities. | MediaCodecUtil.DecoderQueryException | DECODER_QUERY_ERROR | This video file cannot be played |
Media
Source
Code | Reason | Exception | Name | Displayed Message |
---|---|---|---|---|
Thrown when a ClippingMediaSource cannot clip its wrapped source. | ClippingMediaSource.IllegalClippingException | none | ||
274000 | Thrown when a live playback falls behind the available media window. | BehindLiveWindowException | BEHIND_LIVE_WINDOW_ERROR | |
274001 | Thrown when a MergingMediaSource cannot merge its sources. | MergingMediaSource.IllegalMergeException | ILLEGAL_MERGE_ERROR | |
274002 | Thrown if the input format was not recognized. | UnrecognizedInputFormatException | INPUT_FORMAT_ERROR |
Audio
Code | Reason | Exception | Name | Displayed Message |
---|---|---|---|---|
274100 | Thrown when an audio decoder error occurs. | AudioDecoderException | AUDIO_DECODER_ERROR | This video file cannot be played. |
274101 | Exception thrown when a processor can't be configured for a given input audio format. | AudioProcessor.UnhandledAudioFormatException | UNHANDLED_AUDIO_FORMAT_ERROR | |
274001 | Thrown when a MergingMediaSource cannot merge its sources. | MergingMediaSource.IllegalMergeException | ILLEGAL_MERGE_ERROR | This video file cannot be played. |
274102 | Thrown when a failure occurs configuring the sink. | AudioSink.ConfigurationException | AUDIOSINK_CONFIG_ERROR | This video file cannot be played. |
274103 | Thrown when a failure occurs initializing the sink. | AudioSink.InitializationException | AUDIOSINK_INIT_ERROR | This video file cannot be played. |
274104 | Thrown when a failure occurs writing to the sink. | AudioSink.WriteException | AUDIOSINK_WRITE_ERROR | This video file cannot be played. |
274105 | Thrown when the audio track has provided a spurious timestamp, if DefaultAudioSink.failOnSpuriousAudioTimestamp is set. | DefaultAudioSink.InvalidAudioTrackTimestampException | INVALID_AUDIO_TIMESTAMP_ERROR | This video file cannot be played. |
HLS
Code | Reason | Exception | Name | Displayed Message |
---|---|---|---|---|
274200 | Thrown when it is not possible to map a TrackGroup to a SampleQueue . | SampleQueueMappingException | SAMPLE_MAPPING_ERROR | |
274201 | Thrown when the media sequence of a new snapshot indicates the server has reset. | HlsPlaylistTracker.PlaylistResetException | HLS_PLAYLIST_RESET_ERROR | |
274202 | Thrown when a playlist is considered to be stuck due to a server side error. | HlsPlaylistTracker.PlaylistStuckException | HLS_PLAYLIST_STUCK_ERROR |
SmoothStreaming
DASH
DRM
Code | Reason | Exception | Name | Displayed Message |
---|---|---|---|---|
276000 | Thrown when a non-platform component fails to decrypt data. | DecryptionException | DRM_DECRYPTION_ERROR | There was a problem providing access to protected content. |
276001 | Signals that the DrmInitData does not contain scheme data for the required UUID. | DefaultDrmSessionManager.MissingSchemeDataException | DRM_MISSING_SCHEME_DATA_ERROR | There was a problem providing access to protected content. |
276002 | Wraps the throwable which is the cause of the error state. | DrmSession.DrmSessionException | DRM_SESSION_ERROR | There was a problem providing access to protected content. |
276003 | Thrown when the DRM keys loaded into an open session expire. | KeysExpiredException | DRM_KEY_EXPIRED_ERROR | There was a problem providing access to protected content. |
276004 | Thrown when the requested DRM scheme is not supported. | UnsupportedDrmException | DRM_UNSUPPORTED_ERROR | There was a problem providing access to protected content. |
276005 | Thrown when a crypto error occurs while queueing a secure input buffer. | CryptoException | DRM_CRYPTO_ERROR | There was a problem providing access to protected content. |
Warnings
Loading JS Component
Code | Reason | Name | Displayed Message |
---|---|---|---|
301138 | Mobile_workarounds.js failed to load | MOBILE_WORK_AROUND_ERR_CODE | Failed to load a component of the player |
304165 | Casting-provider-sdk.js failed to load | CASTING_PROVIDER_ERR_CODE | Failed to load a component of the player |
305010 | Casting-plugin-sdk.js failed to load | CASTING_PLUGIN_ERR_CODE | Failed to load a component of the player |
305011 | Dai-plugin-sdk.js failed to load | DAI_PLUGIN_ERR_CODE | Failed to load a component of the player |
305012 | Ima-plugin-sdk.js failed to load | IMA_PLUGIN_ERR_CODE | Failed to load a component of the player |
305013 | Related.js failed to load | RELATED_PLUGIN_ERR_CODE | Failed to load a component of the player |
Native
PiP
Code | Reason | Name | Displayed Message |
---|---|---|---|
309100 | Default Pip unsupported error | ERROR_PIP_UNSUPPORTED | |
309101 | Warning for when PiP can't be registered due to low API level | ERROR_PIP_UNAVAILABLE_DUE_TO_API | |
309102 | PiP warning for when activity is not registered | ERROR_PIP_ACTIVITY_NOT_REGISTERED | Activity was not registered for picture in picture |
309103 | PiP warning for when entering PiP mode failed | ERROR_ENTERING_PIP_MODE_FAILED | There was an error entering picture in picture |
309104 | PiP warning for when the set aspect ratio is not within limits | ERROR_PIP_ASPECT_RATIO_OUTSIDE_LIMITS | The provided aspect ratio is too extreme and must be greater then 0.41. and less than 2.39. It will be replaced with the closest viable ratio |
309105 | PiP warning for when we attempt to enter PiP mode multiple times | ERROR_PIP_MODE_ALREADY_ENABLED | Attempting to enter PiP mode while PiP mode was already enabled. |
Metadata
Subtitles
Updated about 1 year ago