Detailed media error codes.
Constant Summary
int | APP | An error occurs outside of the framework (e.g., if an event handler throws an error). |
int | BREAK_CLIP_LOADING_ERROR | Break clip load interceptor fails. |
int | BREAK_SEEK_INTERCEPTOR_ERROR | Break seek interceptor fails. |
int | DASH_INVALID_SEGMENT_INFO | A DASH manifest contains invalid segment info. |
int | DASH_MANIFEST_NO_MIMETYPE | A DASH manifest is missing a MimeType. |
int | DASH_MANIFEST_NO_PERIODS | A DASH manifest is missing periods. |
int | DASH_MANIFEST_UNKNOWN | An unknown error occurs while parsing a DASH manifest. |
int | DASH_NETWORK | An unknown network error occurs while handling a DASH stream. |
int | DASH_NO_INIT | A DASH stream is missing an init. |
int | GENERIC | Returned when an unknown error occurs. |
int | HLS_MANIFEST_MASTER | An error occurs while parsing an HLS master manifest. |
int | HLS_MANIFEST_PLAYLIST | An error occurs while parsing an HLS playlist. |
int | HLS_NETWORK_INVALID_SEGMENT | An HLS segment is invalid. |
int | HLS_NETWORK_KEY_LOAD | A request for an HLS key fails before it is sent. |
int | HLS_NETWORK_MASTER_PLAYLIST | An HLS master playlist fails to download. |
int | HLS_NETWORK_NO_KEY_RESPONSE | An HLS key fails to download. |
int | HLS_NETWORK_PLAYLIST | An HLS playlist fails to download. |
int | HLS_SEGMENT_PARSING | An HLS segment fails to parse. |
int | IMAGE_ERROR | When an image fails to load. |
int | LOAD_FAILED | A load command failed. |
int | LOAD_INTERRUPTED | A load was interrupted by an unload, or by another load. |
int | MANIFEST_UNKNOWN | An unknown error occurs while parsing a manifest. |
int | MEDIAKEYS_NETWORK | There is a media keys failure due to a network issue. |
int | MEDIAKEYS_UNKNOWN | There is an unknown error with media keys. |
int | MEDIAKEYS_UNSUPPORTED | A MediaKeySession object cannot be created. |
int | MEDIAKEYS_WEBCRYPTO | Crypto failed. |
int | MEDIA_ABORTED | The fetching process for the media resource was aborted by the user agent at the user's request. |
int | MEDIA_DECODE | An error occurred while decoding the media resource, after the resource was established to be usable. |
int | MEDIA_ERROR_MESSAGE | An error message was sent to the sender. |
int | MEDIA_NETWORK | A network error caused the user agent to stop fetching the media resource, after the resource was established to be usable. |
int | MEDIA_SRC_NOT_SUPPORTED | The media resource indicated by the src attribute was not suitable. |
int | MEDIA_UNKNOWN | The HTMLMediaElement throws an error, but CAF does not recognize the specific error. |
int | NETWORK_UNKNOWN | There was an unknown network issue. |
int | SEGMENT_NETWORK | A segment fails to download. |
int | SEGMENT_UNKNOWN | An unknown segment error occurs. |
int | SMOOTH_MANIFEST | An error occurs while parsing a Smooth manifest. |
int | SMOOTH_NETWORK | An unknown network error occurs while handling a Smooth stream. |
int | SMOOTH_NO_MEDIA_DATA | A Smooth stream is missing media data. |
int | SOURCE_BUFFER_FAILURE | A source buffer cannot be added to the MediaSource. |
int | TEXT_UNKNOWN | An unknown error occurred with a text stream. |
Inherited Method Summary
Constants
public static final int APP
An error occurs outside of the framework (e.g., if an event handler throws an error).
public static final int BREAK_CLIP_LOADING_ERROR
Break clip load interceptor fails.
public static final int BREAK_SEEK_INTERCEPTOR_ERROR
Break seek interceptor fails.
public static final int DASH_INVALID_SEGMENT_INFO
A DASH manifest contains invalid segment info.
public static final int DASH_MANIFEST_NO_MIMETYPE
A DASH manifest is missing a MimeType.
public static final int DASH_MANIFEST_NO_PERIODS
A DASH manifest is missing periods.
public static final int DASH_MANIFEST_UNKNOWN
An unknown error occurs while parsing a DASH manifest.
public static final int DASH_NETWORK
An unknown network error occurs while handling a DASH stream.
public static final int DASH_NO_INIT
A DASH stream is missing an init.
public static final int GENERIC
Returned when an unknown error occurs.
public static final int HLS_MANIFEST_MASTER
An error occurs while parsing an HLS master manifest.
public static final int HLS_MANIFEST_PLAYLIST
An error occurs while parsing an HLS playlist.
public static final int HLS_NETWORK_INVALID_SEGMENT
An HLS segment is invalid.
public static final int HLS_NETWORK_KEY_LOAD
A request for an HLS key fails before it is sent.
public static final int HLS_NETWORK_MASTER_PLAYLIST
An HLS master playlist fails to download.
public static final int HLS_NETWORK_NO_KEY_RESPONSE
An HLS key fails to download.
public static final int HLS_NETWORK_PLAYLIST
An HLS playlist fails to download.
public static final int HLS_SEGMENT_PARSING
An HLS segment fails to parse.
public static final int IMAGE_ERROR
When an image fails to load.
public static final int LOAD_FAILED
A load command failed.
public static final int LOAD_INTERRUPTED
A load was interrupted by an unload, or by another load.
public static final int MANIFEST_UNKNOWN
An unknown error occurs while parsing a manifest.
public static final int MEDIAKEYS_NETWORK
There is a media keys failure due to a network issue.
public static final int MEDIAKEYS_UNKNOWN
There is an unknown error with media keys.
public static final int MEDIAKEYS_UNSUPPORTED
A MediaKeySession object cannot be created.
public static final int MEDIAKEYS_WEBCRYPTO
Crypto failed.
public static final int MEDIA_ABORTED
The fetching process for the media resource was aborted by the user agent at the user's request.
public static final int MEDIA_DECODE
An error occurred while decoding the media resource, after the resource was established to be usable.
public static final int MEDIA_ERROR_MESSAGE
An error message was sent to the sender.
public static final int MEDIA_NETWORK
A network error caused the user agent to stop fetching the media resource, after the resource was established to be usable.
public static final int MEDIA_SRC_NOT_SUPPORTED
The media resource indicated by the src attribute was not suitable.
public static final int MEDIA_UNKNOWN
The HTMLMediaElement throws an error, but CAF does not recognize the specific error.
public static final int NETWORK_UNKNOWN
There was an unknown network issue.
public static final int SEGMENT_NETWORK
A segment fails to download.
public static final int SEGMENT_UNKNOWN
An unknown segment error occurs.
public static final int SMOOTH_MANIFEST
An error occurs while parsing a Smooth manifest.
public static final int SMOOTH_NETWORK
An unknown network error occurs while handling a Smooth stream.
public static final int SMOOTH_NO_MEDIA_DATA
A Smooth stream is missing media data.
public static final int SOURCE_BUFFER_FAILURE
A source buffer cannot be added to the MediaSource.
public static final int TEXT_UNKNOWN
An unknown error occurred with a text stream.