update components
This commit is contained in:
parent
ed63dd2039
commit
ea6332ed7d
13 changed files with 38 additions and 35 deletions
10
dashboard-ui/bower_components/hls.js/dist/hls.js
vendored
10
dashboard-ui/bower_components/hls.js/dist/hls.js
vendored
|
@ -1008,7 +1008,7 @@ var LevelController = function (_EventHandler) {
|
|||
}
|
||||
hls.trigger(_events2.default.MANIFEST_PARSED, { levels: this._levels, firstLevel: this._firstLevel, stats: data.stats });
|
||||
} else {
|
||||
hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: _errors.ErrorDetails.MANIFEST_PARSING_ERROR, fatal: true, url: hls.url, reason: 'no compatible level found in manifest' });
|
||||
hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.MANIFEST_INCOMPATIBLE_CODECS_ERROR, fatal: true, url: hls.url, reason: 'no level with compatible codecs found in manifest' });
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -4894,11 +4894,11 @@ Object.defineProperty(exports, "__esModule", {
|
|||
});
|
||||
var ErrorTypes = exports.ErrorTypes = {
|
||||
// Identifier for a network error (loading error / timeout ...)
|
||||
NETWORK_ERROR: 'hlsNetworkError',
|
||||
NETWORK_ERROR: 'networkError',
|
||||
// Identifier for a media Error (video/parsing/mediasource error)
|
||||
MEDIA_ERROR: 'hlsMediaError',
|
||||
MEDIA_ERROR: 'mediaError',
|
||||
// Identifier for all other errors
|
||||
OTHER_ERROR: 'hlsOtherError'
|
||||
OTHER_ERROR: 'otherError'
|
||||
};
|
||||
|
||||
var ErrorDetails = exports.ErrorDetails = {
|
||||
|
@ -4908,6 +4908,8 @@ var ErrorDetails = exports.ErrorDetails = {
|
|||
MANIFEST_LOAD_TIMEOUT: 'manifestLoadTimeOut',
|
||||
// Identifier for a manifest parsing error - data: { url : faulty URL, reason : error reason}
|
||||
MANIFEST_PARSING_ERROR: 'manifestParsingError',
|
||||
// Identifier for a manifest with only incompatible codecs error - data: { url : faulty URL, reason : error reason}
|
||||
MANIFEST_INCOMPATIBLE_CODECS_ERROR: 'manifestIncompatibleCodecsError',
|
||||
// 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}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue