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 {
|
export default {
|
||||||
UnsupportedSidxContainer: 'unsupported-sidx-container-error',
|
NetworkBadStatus: 'networkbadstatus',
|
||||||
DashManifestSidxParsingError: 'dash-manifest-sidx-parsing-error',
|
NetworkRequestFailed: 'networkrequestfailed',
|
||||||
HlsPlaylistRequestError: 'hls-playlist-request-error',
|
NetworkRequestAborted: 'networkrequestaborted',
|
||||||
SegmentUnsupportedMediaFormat: 'segment-unsupported-media-format-error',
|
NetworkRequestTimeout: 'networkrequesttimeout',
|
||||||
UnsupportedMediaInitialization: 'unsupported-media-initialization-error',
|
NetworkBodyParserFailed: 'networkbodyparserfailed',
|
||||||
SegmentSwitchError: 'segment-switch-error',
|
StreamingHlsPlaylistParserError: 'streaminghlsplaylistparsererror',
|
||||||
SegmentExceedsSourceBufferQuota: 'segment-exceeds-source-buffer-quota-error',
|
StreamingDashManifestParserError: 'streamingdashmanifestparsererror',
|
||||||
SegmentAppendError: 'segment-append-error',
|
StreamingContentSteeringParserError: 'streamingcontentsteeringparsererror',
|
||||||
VttLoadError: 'vtt-load-error',
|
StreamingVttParserError: 'streamingvttparsererror',
|
||||||
VttCueParsingError: 'vtt-cue-parsing-error'
|
StreamingFailedToSelectNextSegment: 'streamingfailedtoselectnextsegment',
|
||||||
|
StreamingFailedToDecryptSegment: 'streamingfailedtodecryptsegment',
|
||||||
|
StreamingFailedToTransmuxSegment: 'streamingfailedtotransmuxsegment',
|
||||||
|
StreamingFailedToAppendSegment: 'streamingfailedtoappendsegment',
|
||||||
|
StreamingCodecsChangeError: 'streamingcodecschangeerror'
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user