From a40054d62e34d59df785f42c2b2c57fb496077c3 Mon Sep 17 00:00:00 2001 From: Adam Waldron Date: Wed, 1 May 2024 16:27:07 -0700 Subject: [PATCH] feat: add additional vhs errors --- src/js/consts/errors.js | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/js/consts/errors.js b/src/js/consts/errors.js index a0ab2246d..c280adaab 100644 --- a/src/js/consts/errors.js +++ b/src/js/consts/errors.js @@ -8,5 +8,24 @@ export default { SegmentExceedsSourceBufferQuota: 'segment-exceeds-source-buffer-quota-error', SegmentAppendError: 'segment-append-error', VttLoadError: 'vtt-load-error', - VttCueParsingError: 'vtt-cue-parsing-error' + VttCueParsingError: 'vtt-cue-parsing-error', + SubtitlesLoadError: 'subtitles-load-error', + ClosedCaptionsLoadError: 'captions-load-error', + SegmentInvalidKeyError: 'segment-invalid-key-error', + CaptionCueParsingError: 'caption-cue-parsing-error', + TransmuxingFailedError: 'transmuxing-failed-error', + TransmuxerAudioError: 'transmuxer-audio-error', + TransmuxerVideoError: 'transmuxer-video-error', + TransmuxerTextError: 'transmuxer-text-error', + NoPlayableRenditionsLeftError: 'no-playable-renditions-error', + NoValidCodecsError: 'no-valid-codecs-error', + CodecSwitchError: 'codec-switch-error', + UnsupportedCodecError: 'unsupported-codec-error', + NoRendtionsSelectedError: 'no-rendition-selected-error', + ContentSteeringManifestError: 'content-steering-manifest-error', + ContentSteeringRequestError: 'content-steering-request-error', + ContentSteeringNoPathwaysError: 'content-steering-no-pathways-error', + LowLatencyManifestError: 'low-latency-manifest-error', + LowLatencySegmentError: 'low-latency-segment-error', + AudioTrackLoadError: 'audio-track-load-error' };