mirror of
https://github.com/videojs/video.js.git
synced 2025-01-02 06:32:07 +02:00
feat: refactor error consts (#8719)
* feat: refactor error consts * fix: add failed
This commit is contained in:
parent
9946a197eb
commit
4dfea6193a
@ -1,12 +1,16 @@
|
||||
export default {
|
||||
UnsupportedSidxContainer: 'unsupported-sidx-container-error',
|
||||
DashManifestSidxParsingError: 'dash-manifest-sidx-parsing-error',
|
||||
HlsPlaylistRequestError: 'hls-playlist-request-error',
|
||||
SegmentUnsupportedMediaFormat: 'segment-unsupported-media-format-error',
|
||||
UnsupportedMediaInitialization: 'unsupported-media-initialization-error',
|
||||
SegmentSwitchError: 'segment-switch-error',
|
||||
SegmentExceedsSourceBufferQuota: 'segment-exceeds-source-buffer-quota-error',
|
||||
SegmentAppendError: 'segment-append-error',
|
||||
VttLoadError: 'vtt-load-error',
|
||||
VttCueParsingError: 'vtt-cue-parsing-error'
|
||||
NetworkBadStatus: 'networkbadstatus',
|
||||
NetworkRequestFailed: 'networkrequestfailed',
|
||||
NetworkRequestAborted: 'networkrequestaborted',
|
||||
NetworkRequestTimeout: 'networkrequesttimeout',
|
||||
NetworkBodyParserFailed: 'networkbodyparserfailed',
|
||||
StreamingHlsPlaylistParserError: 'streaminghlsplaylistparsererror',
|
||||
StreamingDashManifestParserError: 'streamingdashmanifestparsererror',
|
||||
StreamingContentSteeringParserError: 'streamingcontentsteeringparsererror',
|
||||
StreamingVttParserError: 'streamingvttparsererror',
|
||||
StreamingFailedToSelectNextSegment: 'streamingfailedtoselectnextsegment',
|
||||
StreamingFailedToDecryptSegment: 'streamingfailedtodecryptsegment',
|
||||
StreamingFailedToTransmuxSegment: 'streamingfailedtotransmuxsegment',
|
||||
StreamingFailedToAppendSegment: 'streamingfailedtoappendsegment',
|
||||
StreamingCodecsChangeError: 'streamingcodecschangeerror'
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user