Package com.jwplayer.pub.api.errors
Class ErrorCodes
- java.lang.Object
-
- com.jwplayer.pub.api.errors.ErrorCodes
-
public class ErrorCodes extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
ASSET_DATA_SOURCE_ERROR
Thrown when an IOException is encountered reading a local asset.static int
ASYNC_PLAYLIST_ITEM_REJECTED
Reached the end of the playlist while skipping items via async callback.static int
AUDIO_DECODER_ERROR
Thrown when an audio decoder error occurs.static int
AUDIOSINK_CONFIG_ERROR
Thrown when a failure occurs configuring the sink.static int
AUDIOSINK_INIT_ERROR
Thrown when a failure occurs initializing the sink.static int
AUDIOSINK_WRITE_ERROR
Thrown when a failure occurs writing to the sink.static int
BEHIND_LIVE_WINDOW_ERROR
Thrown when a live playback falls behind the available media window.static int
CLEARTEXT_NOT_ALLOWED_ERROR
Thrown when cleartext HTTP traffic is not permitted.static int
CONTENT_DATA_SOURCE_ERROR
Thrown when an IOException is encountered reading from a content URI.static int
DASH_MANIFEST_STALE_ERROR
Thrown when a live playback's manifest is stale and a new manifest could not be loaded.static int
DECODER_INIT_ERROR
Thrown when a failure occurs instantiating a decoder.static int
DECODER_INIT_ERROR_UNSUPPORTED
Thrown when a failure occurs instantiating a decoder.static int
DECODER_QUERY_ERROR
Thrown when an error occurs querying the device for its underlying media capabilities.static int
DRM_CRYPTO_ERROR
Thrown when a crypto error occurs while queueing a secure input buffer.static int
DRM_KEY_EXPIRED_ERROR
Thrown when the drm keys loaded into an open session expire.static int
DRM_MISSING_SCHEME_DATA_ERROR
Signals that the DrmInitData does not contain scheme data for the required UUID.static int
DRM_SESSION_ERROR
Wraps the throwable which is the cause of the error state.static int
DRM_UNSUPPORTED_ERROR
Thrown when the requested DRM scheme is not supported.static int
ERROR_COMPLETING_SETUP
An exception occurred while completing player setup.static int
ERROR_ENTERING_PIP_MODE_FAILED
Pip error for when entering pip mode failedstatic int
ERROR_LOADING_PLAYLIST_ITEM
An error occurred when switching playlist items.static int
ERROR_LOADING_PROVIDER
Between playlist items, the required provider could not be loaded.static int
ERROR_PIP_ACTIVITY_NOT_REGISTERED
Pip error for when activity is not registeredstatic int
ERROR_PIP_ASPECT_RATIO_OUTSIDE_LIMITS
Pip error for when the set aspect ratio is not within limitsstatic int
ERROR_PIP_MODE_ALREADY_ENABLED
Pip error for when we attempt to enter pip mode multiple timesstatic int
ERROR_PIP_UNAVAILABLE_DUE_TO_API
Error for when Pip can't be registered due to low API levelstatic int
ERROR_PIP_UNSUPPORTED
Default Pip unsupported errorstatic int
ERROR_PLAYLIST_ITEM_MISSING_SOURCE
The current playlist item has no source media.static int
FILE_DATA_SOURCE_ERROR
Thrown when a FileDataSource encounters an error reading a file.static int
GENERIC_DECODER_ERROR
Thrown when a failure occurs in the decoder.static int
GENERIC_HTTP_DATA_SOURCE_ERROR
Thrown when an error is encountered when trying to read from a HttpDataSource.static int
GENERIC_PLAYBACK_ERROR
Thrown when a non-recoverable playback failure occurs.static int
HLS_PLAYLIST_RESET_ERROR
Thrown when the media sequence of a new snapshot indicates the server has reset.static int
HLS_PLAYLIST_STUCK_ERROR
Thrown when a playlist is considered to be stuck due to a server side error.static int
ILLEGAL_ARGUMENT_ERROR
Thrown to indicate that a method has been passed an illegal or inappropriate argumentstatic int
ILLEGAL_MERGE_ERROR
Thrown when a MergingMediaSource cannot merge its sources.static int
ILLEGAL_SEEK_POSITION_ERROR
Thrown when an attempt is made to seek to a position that does not exist in the player's Timeline.static int
INPUT_FORMAT_ERROR
Thrown if the input format was not recognized.static int
INVALID_AUDIO_TIMESTAMP_ERROR
Thrown when the audio track has provided a spurious timestampstatic int
INVALID_CONTENT_TYPE_ERROR
Thrown when the content type is invalid.static int
IO_ERROR
Signals that an I/O exception of some sort has occurred.static int
PARSER_ERROR
Thrown when an error occurs parsing media data and metadata.static int
RAW_DATA_SOURCE_ERROR
Thrown when an IOException is encountered reading from a raw resource.static int
RELATED_HTTP_4XX_CODE
An HTTP status error occurred.static int
RELATED_HTTP_5XX_CODE
static int
RELATED_JSON_MALFORMED
Playlist was a malformed JSON file.static int
RELATED_MALFORMED_URL
This is usually due to a malformed URL.static int
RELATED_TIME_OUT
Request exceeded timeout argument or default of 60 seconds.static int
RELATED_XML_MALFORMED
Playlist was a malformed XML file.static int
RELATED_XML_PLAYLIST_EMPTY
Playlist XML was empty.static int
SAMPLE_MAPPING_ERROR
Thrown when it is not possible to map a TrackGroup to a SampleQueue.static int
SETUP_ERROR_ASYNC_SKIPPED_PLAYLIST
Setup failed because all items in the playlist were skipped by the async callback.static int
SETUP_ERROR_LOADING_CORE
Setup failed because a core module failed to load.static int
SETUP_ERROR_LOADING_PROVIDER
Setup failed because the initial provider failed to load.static int
SETUP_ERROR_TIMEOUT
Setup failed because it took longer than 30 seconds.static int
SETUP_ERROR_UNKNOWN
Base code for a setup failure.static int
SS_MISSING_FIELD_ERROR
Thrown if a required field is missing.static int
SUBTITLE_DECODE_ERROR
Thrown when an error occurs decoding subtitle data.static int
UNHANDLED_AUDIO_FORMAT_ERROR
Exception thrown when a processor can't be configured for a given input audio format.
-
Constructor Summary
Constructors Constructor Description ErrorCodes()
-
-
-
Field Detail
-
ILLEGAL_ARGUMENT_ERROR
public static final int ILLEGAL_ARGUMENT_ERROR
Thrown to indicate that a method has been passed an illegal or inappropriate argument- See Also:
- Constant Field Values
-
IO_ERROR
public static final int IO_ERROR
Signals that an I/O exception of some sort has occurred.- See Also:
- Constant Field Values
-
GENERIC_PLAYBACK_ERROR
public static final int GENERIC_PLAYBACK_ERROR
Thrown when a non-recoverable playback failure occurs.- See Also:
- Constant Field Values
-
ILLEGAL_SEEK_POSITION_ERROR
public static final int ILLEGAL_SEEK_POSITION_ERROR
Thrown when an attempt is made to seek to a position that does not exist in the player's Timeline.- See Also:
- Constant Field Values
-
PARSER_ERROR
public static final int PARSER_ERROR
Thrown when an error occurs parsing media data and metadata.- See Also:
- Constant Field Values
-
GENERIC_HTTP_DATA_SOURCE_ERROR
public static final int GENERIC_HTTP_DATA_SOURCE_ERROR
Thrown when an error is encountered when trying to read from a HttpDataSource.- See Also:
- Constant Field Values
-
CLEARTEXT_NOT_ALLOWED_ERROR
public static final int CLEARTEXT_NOT_ALLOWED_ERROR
Thrown when cleartext HTTP traffic is not permitted.- See Also:
- Constant Field Values
-
INVALID_CONTENT_TYPE_ERROR
public static final int INVALID_CONTENT_TYPE_ERROR
Thrown when the content type is invalid.- See Also:
- Constant Field Values
-
ASSET_DATA_SOURCE_ERROR
public static final int ASSET_DATA_SOURCE_ERROR
Thrown when an IOException is encountered reading a local asset.- See Also:
- Constant Field Values
-
CONTENT_DATA_SOURCE_ERROR
public static final int CONTENT_DATA_SOURCE_ERROR
Thrown when an IOException is encountered reading from a content URI.- See Also:
- Constant Field Values
-
FILE_DATA_SOURCE_ERROR
public static final int FILE_DATA_SOURCE_ERROR
Thrown when a FileDataSource encounters an error reading a file.- See Also:
- Constant Field Values
-
RAW_DATA_SOURCE_ERROR
public static final int RAW_DATA_SOURCE_ERROR
Thrown when an IOException is encountered reading from a raw resource.- See Also:
- Constant Field Values
-
GENERIC_DECODER_ERROR
public static final int GENERIC_DECODER_ERROR
Thrown when a failure occurs in the decoder.- See Also:
- Constant Field Values
-
DECODER_INIT_ERROR
public static final int DECODER_INIT_ERROR
Thrown when a failure occurs instantiating a decoder.- See Also:
- Constant Field Values
-
DECODER_INIT_ERROR_UNSUPPORTED
public static final int DECODER_INIT_ERROR_UNSUPPORTED
Thrown when a failure occurs instantiating a decoder.- See Also:
- Constant Field Values
-
DECODER_QUERY_ERROR
public static final int DECODER_QUERY_ERROR
Thrown when an error occurs querying the device for its underlying media capabilities.- See Also:
- Constant Field Values
-
SUBTITLE_DECODE_ERROR
public static final int SUBTITLE_DECODE_ERROR
Thrown when an error occurs decoding subtitle data.- See Also:
- Constant Field Values
-
BEHIND_LIVE_WINDOW_ERROR
public static final int BEHIND_LIVE_WINDOW_ERROR
Thrown when a live playback falls behind the available media window.- See Also:
- Constant Field Values
-
ILLEGAL_MERGE_ERROR
public static final int ILLEGAL_MERGE_ERROR
Thrown when a MergingMediaSource cannot merge its sources.- See Also:
- Constant Field Values
-
INPUT_FORMAT_ERROR
public static final int INPUT_FORMAT_ERROR
Thrown if the input format was not recognized.- See Also:
- Constant Field Values
-
AUDIO_DECODER_ERROR
public static final int AUDIO_DECODER_ERROR
Thrown when an audio decoder error occurs.- See Also:
- Constant Field Values
-
UNHANDLED_AUDIO_FORMAT_ERROR
public static final int UNHANDLED_AUDIO_FORMAT_ERROR
Exception thrown when a processor can't be configured for a given input audio format.- See Also:
- Constant Field Values
-
AUDIOSINK_CONFIG_ERROR
public static final int AUDIOSINK_CONFIG_ERROR
Thrown when a failure occurs configuring the sink.- See Also:
- Constant Field Values
-
AUDIOSINK_INIT_ERROR
public static final int AUDIOSINK_INIT_ERROR
Thrown when a failure occurs initializing the sink.- See Also:
- Constant Field Values
-
AUDIOSINK_WRITE_ERROR
public static final int AUDIOSINK_WRITE_ERROR
Thrown when a failure occurs writing to the sink.- See Also:
- Constant Field Values
-
INVALID_AUDIO_TIMESTAMP_ERROR
public static final int INVALID_AUDIO_TIMESTAMP_ERROR
Thrown when the audio track has provided a spurious timestamp- See Also:
- Constant Field Values
-
SAMPLE_MAPPING_ERROR
public static final int SAMPLE_MAPPING_ERROR
Thrown when it is not possible to map a TrackGroup to a SampleQueue.- See Also:
- Constant Field Values
-
HLS_PLAYLIST_RESET_ERROR
public static final int HLS_PLAYLIST_RESET_ERROR
Thrown when the media sequence of a new snapshot indicates the server has reset.- See Also:
- Constant Field Values
-
HLS_PLAYLIST_STUCK_ERROR
public static final int HLS_PLAYLIST_STUCK_ERROR
Thrown when a playlist is considered to be stuck due to a server side error.- See Also:
- Constant Field Values
-
SS_MISSING_FIELD_ERROR
public static final int SS_MISSING_FIELD_ERROR
Thrown if a required field is missing.- See Also:
- Constant Field Values
-
DASH_MANIFEST_STALE_ERROR
public static final int DASH_MANIFEST_STALE_ERROR
Thrown when a live playback's manifest is stale and a new manifest could not be loaded.- See Also:
- Constant Field Values
-
DRM_MISSING_SCHEME_DATA_ERROR
public static final int DRM_MISSING_SCHEME_DATA_ERROR
Signals that the DrmInitData does not contain scheme data for the required UUID.- See Also:
- Constant Field Values
-
DRM_SESSION_ERROR
public static final int DRM_SESSION_ERROR
Wraps the throwable which is the cause of the error state.- See Also:
- Constant Field Values
-
DRM_KEY_EXPIRED_ERROR
public static final int DRM_KEY_EXPIRED_ERROR
Thrown when the drm keys loaded into an open session expire.- See Also:
- Constant Field Values
-
DRM_UNSUPPORTED_ERROR
public static final int DRM_UNSUPPORTED_ERROR
Thrown when the requested DRM scheme is not supported.- See Also:
- Constant Field Values
-
DRM_CRYPTO_ERROR
public static final int DRM_CRYPTO_ERROR
Thrown when a crypto error occurs while queueing a secure input buffer.- See Also:
- Constant Field Values
-
ASYNC_PLAYLIST_ITEM_REJECTED
public static final int ASYNC_PLAYLIST_ITEM_REJECTED
Reached the end of the playlist while skipping items via async callback.- See Also:
- Constant Field Values
-
SETUP_ERROR_UNKNOWN
public static final int SETUP_ERROR_UNKNOWN
Base code for a setup failure.- See Also:
- Constant Field Values
-
SETUP_ERROR_TIMEOUT
public static final int SETUP_ERROR_TIMEOUT
Setup failed because it took longer than 30 seconds.- See Also:
- Constant Field Values
-
SETUP_ERROR_LOADING_CORE
public static final int SETUP_ERROR_LOADING_CORE
Setup failed because a core module failed to load.- See Also:
- Constant Field Values
-
SETUP_ERROR_ASYNC_SKIPPED_PLAYLIST
public static final int SETUP_ERROR_ASYNC_SKIPPED_PLAYLIST
Setup failed because all items in the playlist were skipped by the async callback.- See Also:
- Constant Field Values
-
ERROR_COMPLETING_SETUP
public static final int ERROR_COMPLETING_SETUP
An exception occurred while completing player setup.- See Also:
- Constant Field Values
-
SETUP_ERROR_LOADING_PROVIDER
public static final int SETUP_ERROR_LOADING_PROVIDER
Setup failed because the initial provider failed to load.- See Also:
- Constant Field Values
-
ERROR_LOADING_PLAYLIST_ITEM
public static final int ERROR_LOADING_PLAYLIST_ITEM
An error occurred when switching playlist items.- See Also:
- Constant Field Values
-
ERROR_PLAYLIST_ITEM_MISSING_SOURCE
public static final int ERROR_PLAYLIST_ITEM_MISSING_SOURCE
The current playlist item has no source media.- See Also:
- Constant Field Values
-
ERROR_LOADING_PROVIDER
public static final int ERROR_LOADING_PROVIDER
Between playlist items, the required provider could not be loaded.- See Also:
- Constant Field Values
-
ERROR_PIP_UNSUPPORTED
public static final int ERROR_PIP_UNSUPPORTED
Default Pip unsupported error- See Also:
- Constant Field Values
-
ERROR_PIP_UNAVAILABLE_DUE_TO_API
public static final int ERROR_PIP_UNAVAILABLE_DUE_TO_API
Error for when Pip can't be registered due to low API level- See Also:
- Constant Field Values
-
ERROR_PIP_ACTIVITY_NOT_REGISTERED
public static final int ERROR_PIP_ACTIVITY_NOT_REGISTERED
Pip error for when activity is not registered- See Also:
- Constant Field Values
-
ERROR_ENTERING_PIP_MODE_FAILED
public static final int ERROR_ENTERING_PIP_MODE_FAILED
Pip error for when entering pip mode failed- See Also:
- Constant Field Values
-
ERROR_PIP_ASPECT_RATIO_OUTSIDE_LIMITS
public static final int ERROR_PIP_ASPECT_RATIO_OUTSIDE_LIMITS
Pip error for when the set aspect ratio is not within limits- See Also:
- Constant Field Values
-
ERROR_PIP_MODE_ALREADY_ENABLED
public static final int ERROR_PIP_MODE_ALREADY_ENABLED
Pip error for when we attempt to enter pip mode multiple times- See Also:
- Constant Field Values
-
RELATED_TIME_OUT
public static final int RELATED_TIME_OUT
Request exceeded timeout argument or default of 60 seconds.- See Also:
- Constant Field Values
-
RELATED_MALFORMED_URL
public static final int RELATED_MALFORMED_URL
This is usually due to a malformed URL.- See Also:
- Constant Field Values
-
RELATED_HTTP_4XX_CODE
public static final int RELATED_HTTP_4XX_CODE
An HTTP status error occurred.- See Also:
- Constant Field Values
-
RELATED_HTTP_5XX_CODE
public static final int RELATED_HTTP_5XX_CODE
- See Also:
- Constant Field Values
-
RELATED_XML_MALFORMED
public static final int RELATED_XML_MALFORMED
Playlist was a malformed XML file.- See Also:
- Constant Field Values
-
RELATED_XML_PLAYLIST_EMPTY
public static final int RELATED_XML_PLAYLIST_EMPTY
Playlist XML was empty.- See Also:
- Constant Field Values
-
RELATED_JSON_MALFORMED
public static final int RELATED_JSON_MALFORMED
Playlist was a malformed JSON file.- See Also:
- Constant Field Values
-
-