diff --git a/src/js/consts/errors.js b/src/js/consts/errors.js index 6956b94203..f78f7be0cf 100644 --- a/src/js/consts/errors.js +++ b/src/js/consts/errors.js @@ -9,12 +9,23 @@ export default { SegmentAppendError: 'segment-append-error', VttLoadError: 'vtt-load-error', VttCueParsingError: 'vtt-cue-parsing-error', - EMEKeySessionCreationError: 'eme-key-session-creation-error', // Errors used in contrib-ads: AdsBeforePrerollError: 'ads-before-preroll-error', AdsPrerollError: 'ads-preroll-error', AdsMidrollError: 'ads-midroll-error', AdsPostrollError: 'ads-postroll-error', AdsMacroReplacementFailed: 'ads-macro-replacement-failed', - AdsResumeContentFailed: 'ads-resume-content-failed' + AdsResumeContentFailed: 'ads-resume-content-failed', + // Errors used in contrib-eme: + EMEEncryptedError: 'eme-encrypted-error', + MSKeyError: 'ms-key-error', + WebkitKeyError: 'webkit-key-error', + EMEFailedToRequestMediaKeySystemAccess: 'eme-failed-request-media-key-system-access', + EMEFailedToCreateMediaKeys: 'eme-failed-create-media-keys', + EMEFailedToAttachMediaKeysToVideoElement: 'eme-failed-attach-media-keys-to-video', + EMEFailedToCreateMediaKeySession: 'eme-failed-create-media-key-session', + EMEFailedToSetServerCertificate: 'eme-failed-set-server-certificate', + EMEFailedToGenerateLicenseRequest: 'eme-failed-generate-license-request', + EMEFailedToUpdateSessionWithReceivedLicenseKeys: 'eme-failed-update-session', + EMEFailedToCloseSession: 'eme-failed-close-session' };