mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
get api libs from bower
This commit is contained in:
parent
def418714f
commit
f36e664503
97 changed files with 16860 additions and 197 deletions
41
dashboard-ui/bower_components/hls.js/src/errors.js
vendored
Normal file
41
dashboard-ui/bower_components/hls.js/src/errors.js
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
export const ErrorTypes = {
|
||||
// Identifier for a network error (loading error / timeout ...)
|
||||
NETWORK_ERROR: 'hlsNetworkError',
|
||||
// Identifier for a media Error (video/parsing/mediasource error)
|
||||
MEDIA_ERROR: 'hlsMediaError',
|
||||
// Identifier for all other errors
|
||||
OTHER_ERROR: 'hlsOtherError'
|
||||
};
|
||||
|
||||
export const ErrorDetails = {
|
||||
// Identifier for a manifest load error - data: { url : faulty URL, response : XHR response}
|
||||
MANIFEST_LOAD_ERROR: 'manifestLoadError',
|
||||
// Identifier for a manifest load timeout - data: { url : faulty URL, response : XHR response}
|
||||
MANIFEST_LOAD_TIMEOUT: 'manifestLoadTimeOut',
|
||||
// Identifier for a manifest parsing error - data: { url : faulty URL, reason : error reason}
|
||||
MANIFEST_PARSING_ERROR: 'manifestParsingError',
|
||||
// Identifier for playlist load error - data: { url : faulty URL, response : XHR response}
|
||||
LEVEL_LOAD_ERROR: 'levelLoadError',
|
||||
// Identifier for playlist load timeout - data: { url : faulty URL, response : XHR response}
|
||||
LEVEL_LOAD_TIMEOUT: 'levelLoadTimeOut',
|
||||
// Identifier for a level switch error - data: { level : faulty level Id, event : error description}
|
||||
LEVEL_SWITCH_ERROR: 'levelSwitchError',
|
||||
// Identifier for fragment load error - data: { frag : fragment object, response : XHR response}
|
||||
FRAG_LOAD_ERROR: 'fragLoadError',
|
||||
// Identifier for fragment loop loading error - data: { frag : fragment object}
|
||||
FRAG_LOOP_LOADING_ERROR: 'fragLoopLoadingError',
|
||||
// Identifier for fragment load timeout error - data: { frag : fragment object}
|
||||
FRAG_LOAD_TIMEOUT: 'fragLoadTimeOut',
|
||||
// Identifier for a fragment decryption error event - data: parsing error description
|
||||
FRAG_DECRYPT_ERROR: 'fragDecryptError',
|
||||
// Identifier for a fragment parsing error event - data: parsing error description
|
||||
FRAG_PARSING_ERROR: 'fragParsingError',
|
||||
// Identifier for decrypt key load error - data: { frag : fragment object, response : XHR response}
|
||||
KEY_LOAD_ERROR: 'keyLoadError',
|
||||
// Identifier for decrypt key load timeout error - data: { frag : fragment object}
|
||||
KEY_LOAD_TIMEOUT: 'keyLoadTimeOut',
|
||||
// Identifier for a buffer append error - data: append error description
|
||||
BUFFER_APPEND_ERROR: 'bufferAppendError',
|
||||
// Identifier for a buffer appending error event - data: appending error description
|
||||
BUFFER_APPENDING_ERROR: 'bufferAppendingError'
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue