@svta/cml-error-codes 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1424 -1426
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +454 -25
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/SvtaErrorCategory.ts","../src/getSvtaErrorCategory.ts","../src/getSvtaErrorIndex.ts","../src/httpStatusToSvtaErrorCode.ts","../src/SvtaAccessibilityErrorCode.ts","../src/SvtaAdvertisingErrorCode.ts","../src/SvtaContentProtectionErrorCode.ts","../src/SvtaCustomErrorCode.ts","../src/SvtaMediaContentErrorCode.ts","../src/SvtaNetworkErrorCode.ts","../src/SvtaPlaybackErrorCode.ts","../src/SvtaRemotePlayErrorCode.ts","../src/SvtaUnknownErrorCode.ts","../src/vastErrorToSvtaErrorCode.ts"],"sourcesContent":["import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA error category 0: Unknown error\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_UNKNOWN = 0 as const\n\n/**\n * SVTA error category 1: Issues with the content itself, such as an unsupported format\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_MEDIA_CONTENT = 1 as const\n\n/**\n * SVTA error category 2: Player unable to sustain the experience\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_PLAYBACK = 2 as const\n\n/**\n * SVTA error category 3: Issues on the network, including unavailable resources\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_NETWORK = 3 as const\n\n/**\n * SVTA error category 4: Security related error, including authentication or entitlement issues\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_CONTENT_PROTECTION = 4 as const\n\n/**\n * SVTA error category 5: Defective captions or audio description\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_ACCESSIBILITY = 5 as const\n\n/**\n * SVTA error category 6: Framework supporting the play out of the stream on a second device\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_REMOTE_PLAY = 6 as const\n\n/**\n * SVTA error category 7: Issues triggered by ad insertion\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_ADVERTISING = 7 as const\n\n/**\n * SVTA error category 99: Reserved category for Publisher-defined errors\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_CUSTOM = 99 as const\n\n/**\n * SVTA standardized error code categories. The category of an error code\n * occupies its thousands digits: `Math.floor(code / 1000)` yields the\n * category of any SVTA error code.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaErrorCategory = {\n\t/**\n\t * Unknown error\n\t */\n\tUNKNOWN: SVTA_ERROR_CATEGORY_UNKNOWN as typeof SVTA_ERROR_CATEGORY_UNKNOWN,\n\n\t/**\n\t * Issues with the content itself, such as an unsupported format\n\t */\n\tMEDIA_CONTENT: SVTA_ERROR_CATEGORY_MEDIA_CONTENT as typeof SVTA_ERROR_CATEGORY_MEDIA_CONTENT,\n\n\t/**\n\t * Player unable to sustain the experience\n\t */\n\tPLAYBACK: SVTA_ERROR_CATEGORY_PLAYBACK as typeof SVTA_ERROR_CATEGORY_PLAYBACK,\n\n\t/**\n\t * Issues on the network, including unavailable resources\n\t */\n\tNETWORK: SVTA_ERROR_CATEGORY_NETWORK as typeof SVTA_ERROR_CATEGORY_NETWORK,\n\n\t/**\n\t * Security related error, including authentication or entitlement issues\n\t */\n\tCONTENT_PROTECTION: SVTA_ERROR_CATEGORY_CONTENT_PROTECTION as typeof SVTA_ERROR_CATEGORY_CONTENT_PROTECTION,\n\n\t/**\n\t * Defective captions or audio description\n\t */\n\tACCESSIBILITY: SVTA_ERROR_CATEGORY_ACCESSIBILITY as typeof SVTA_ERROR_CATEGORY_ACCESSIBILITY,\n\n\t/**\n\t * Framework supporting the play out of the stream on a second device\n\t */\n\tREMOTE_PLAY: SVTA_ERROR_CATEGORY_REMOTE_PLAY as typeof SVTA_ERROR_CATEGORY_REMOTE_PLAY,\n\n\t/**\n\t * Issues triggered by ad insertion\n\t */\n\tADVERTISING: SVTA_ERROR_CATEGORY_ADVERTISING as typeof SVTA_ERROR_CATEGORY_ADVERTISING,\n\n\t/**\n\t * Reserved category for Publisher-defined errors\n\t */\n\tCUSTOM: SVTA_ERROR_CATEGORY_CUSTOM as typeof SVTA_ERROR_CATEGORY_CUSTOM,\n} as const\n\n/**\n * Union type of all {@link (SvtaErrorCategory:variable)} values.\n *\n * @public\n */\nexport type SvtaErrorCategory = ValueOf<typeof SvtaErrorCategory>\n","import { SvtaErrorCategory } from './SvtaErrorCategory.ts'\n\n/**\n * Get the `SvtaErrorCategory` of an SVTA error code, per the spec's\n * `code / 1000` rule.\n *\n * @param code - An SVTA error code.\n * @returns The error category. Returns `undefined` if the code is not a\n * non-negative integer, or if the spec does not assign its category.\n * Categories 8-98 and above 99 are reserved for future use.\n *\n * @public\n *\n * @example\n * {@includeCode ../test/getSvtaErrorCategory.test.ts#example}\n */\nexport function getSvtaErrorCategory(code: number): SvtaErrorCategory | undefined {\n\tif (!Number.isInteger(code)) {\n\t\treturn undefined\n\t}\n\n\tconst category = Math.floor(code / 1000)\n\n\tif ((category >= SvtaErrorCategory.UNKNOWN && category <= SvtaErrorCategory.ADVERTISING) || category === SvtaErrorCategory.CUSTOM) {\n\t\treturn category as SvtaErrorCategory\n\t}\n\n\treturn undefined\n}\n","/**\n * Get the error index of an SVTA error code, per the spec's\n * `code mod 1000` rule. The index identifies the specific error within\n * its category: native indices are 0-99, embedded external codes (HTTP,\n * VAST) are 100-999.\n *\n * @param code - An SVTA error code.\n * @returns The error index within the code's category, or `undefined`\n * if the code is not a non-negative integer.\n *\n * @public\n *\n * @example\n * {@includeCode ../test/getSvtaErrorIndex.test.ts#example}\n */\nexport function getSvtaErrorIndex(code: number): number | undefined {\n\tif (!Number.isInteger(code) || code < 0) {\n\t\treturn undefined\n\t}\n\n\treturn code % 1000\n}\n","import { SvtaErrorCategory } from './SvtaErrorCategory.ts'\n\n/**\n * Embed an HTTP response status code into the SVTA Network error\n * category, per the external code embedding rule of SVTA2070. HTTP 404\n * becomes 3404.\n *\n * Values outside the valid HTTP status range (integers 100-599) return\n * the unknown network error code (3000) rather than throwing, so error\n * reporting paths cannot fail.\n *\n * @param status - An HTTP response status code (100-599).\n * @returns The SVTA network error code embedding the status.\n *\n * @public\n *\n * @example\n * {@includeCode ../test/httpStatusToSvtaErrorCode.test.ts#example}\n */\nexport function httpStatusToSvtaErrorCode(status: number): number {\n\tconst base = SvtaErrorCategory.NETWORK * 1000\n\n\tif (!Number.isInteger(status) || status < 100 || status > 599) {\n\t\treturn base\n\t}\n\n\treturn base + status\n}\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 5 [Accessibility] 000: Unknown accessibility error\n *\n * @public\n */\nexport const SVTA_ACCESSIBILITY_UNKNOWN = 5000 as const\n\n/**\n * SVTA 5 [Accessibility] 001: Unable to parse timed text\n *\n * @public\n */\nexport const SVTA_TIMED_TEXT_PARSE_ERROR = 5001 as const\n\n/**\n * SVTA 5 [Accessibility] 002: Unable to render timed text\n *\n * @public\n */\nexport const SVTA_TIMED_TEXT_RENDER_ERROR = 5002 as const\n\n/**\n * SVTA 5 [Accessibility] 003: Timed text exceeds content duration\n *\n * @public\n */\nexport const SVTA_TIMED_TEXT_EXCEEDS_CONTENT_DURATION = 5003 as const\n\n/**\n * SVTA 5 [Accessibility] 004: Audio description exceeds content duration\n *\n * @public\n */\nexport const SVTA_AUDIO_DESCRIPTION_EXCEEDS_CONTENT_DURATION = 5004 as const\n\n/**\n * SVTA standardized error codes in the Accessibility category (5xxx):\n * defective captions or audio description.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaAccessibilityErrorCode = {\n\t/**\n\t * Unknown accessibility error\n\t */\n\tUNKNOWN: SVTA_ACCESSIBILITY_UNKNOWN as typeof SVTA_ACCESSIBILITY_UNKNOWN,\n\n\t/**\n\t * Unable to parse timed text\n\t */\n\tTIMED_TEXT_PARSE_ERROR: SVTA_TIMED_TEXT_PARSE_ERROR as typeof SVTA_TIMED_TEXT_PARSE_ERROR,\n\n\t/**\n\t * Unable to render timed text\n\t */\n\tTIMED_TEXT_RENDER_ERROR: SVTA_TIMED_TEXT_RENDER_ERROR as typeof SVTA_TIMED_TEXT_RENDER_ERROR,\n\n\t/**\n\t * Timed text exceeds content duration\n\t */\n\tTIMED_TEXT_EXCEEDS_CONTENT_DURATION: SVTA_TIMED_TEXT_EXCEEDS_CONTENT_DURATION as typeof SVTA_TIMED_TEXT_EXCEEDS_CONTENT_DURATION,\n\n\t/**\n\t * Audio description exceeds content duration\n\t */\n\tAUDIO_DESCRIPTION_EXCEEDS_CONTENT_DURATION: SVTA_AUDIO_DESCRIPTION_EXCEEDS_CONTENT_DURATION as typeof SVTA_AUDIO_DESCRIPTION_EXCEEDS_CONTENT_DURATION,\n} as const\n\n/**\n * Union type of all {@link (SvtaAccessibilityErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaAccessibilityErrorCode = ValueOf<typeof SvtaAccessibilityErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 7 [Advertising] 000: Unknown advertising error\n *\n * @public\n */\nexport const SVTA_ADVERTISING_UNKNOWN = 7000 as const\n\n/**\n * SVTA 7 [Advertising] 001: Ad blocker detected\n *\n * @public\n */\nexport const SVTA_AD_BLOCKER_DETECTED = 7001 as const\n\n/**\n * SVTA 7 [Advertising] 100: Unable to parse VAST XML\n *\n * @public\n */\nexport const SVTA_VAST_PARSE_ERROR = 7100 as const\n\n/**\n * SVTA 7 [Advertising] 101: Invalid VAST schema\n *\n * @public\n */\nexport const SVTA_VAST_SCHEMA_VALIDATION_ERROR = 7101 as const\n\n/**\n * SVTA 7 [Advertising] 102: VAST response version not supported\n *\n * @public\n */\nexport const SVTA_VAST_VERSION_UNSUPPORTED = 7102 as const\n\n/**\n * SVTA 7 [Advertising] 200: Video player expected different ad type\n *\n * @public\n */\nexport const SVTA_AD_TYPE_MISMATCH = 7200 as const\n\n/**\n * SVTA 7 [Advertising] 201: Creative has different linearity than player expected (non-fatal)\n *\n * @public\n */\nexport const SVTA_LINEARITY_MISMATCH = 7201 as const\n\n/**\n * SVTA 7 [Advertising] 202: Creative has different duration than player expected (non-fatal)\n *\n * @public\n */\nexport const SVTA_DURATION_MISMATCH = 7202 as const\n\n/**\n * SVTA 7 [Advertising] 203: Creative has different size than player expected (non-fatal)\n *\n * @public\n */\nexport const SVTA_SIZE_MISMATCH = 7203 as const\n\n/**\n * SVTA 7 [Advertising] 300: Wrapper failed to deliver VAST response for unknown reason\n *\n * @public\n */\nexport const SVTA_WRAPPER_ERROR = 7300 as const\n\n/**\n * SVTA 7 [Advertising] 301: VAST response redirect timed out\n *\n * @public\n */\nexport const SVTA_WRAPPER_TIMEOUT = 7301 as const\n\n/**\n * SVTA 7 [Advertising] 302: Wrapper limit reached (e.g. too many redirects)\n *\n * @public\n */\nexport const SVTA_WRAPPER_LIMIT_REACHED = 7302 as const\n\n/**\n * SVTA 7 [Advertising] 303: VAST response was empty\n *\n * @public\n */\nexport const SVTA_EMPTY_WRAPPER_RESPONSE = 7303 as const\n\n/**\n * SVTA 7 [Advertising] 400: Unable to display linear ad\n *\n * @public\n */\nexport const SVTA_LINEAR_AD_ERROR = 7400 as const\n\n/**\n * SVTA 7 [Advertising] 401: Media file not found\n *\n * @public\n */\nexport const SVTA_MEDIA_FILE_NOT_FOUND = 7401 as const\n\n/**\n * SVTA 7 [Advertising] 402: Media file unavailable\n *\n * @public\n */\nexport const SVTA_MEDIA_FILE_UNAVAILABLE = 7402 as const\n\n/**\n * SVTA 7 [Advertising] 403: VAST response contained no supported MIME types\n *\n * @public\n */\nexport const SVTA_NO_SUPPORTED_MEDIA_TYPE = 7403 as const\n\n/**\n * SVTA 7 [Advertising] 405: Unable to display media file\n *\n * @public\n */\nexport const SVTA_MEDIA_FILE_DISPLAY_ERROR = 7405 as const\n\n/**\n * SVTA 7 [Advertising] 406: Required mezzanine file missing\n *\n * @public\n */\nexport const SVTA_MEZZANINE_MISSING = 7406 as const\n\n/**\n * SVTA 7 [Advertising] 407: Mezzanine file was downloaded for the first time\n *\n * @public\n */\nexport const SVTA_MEZZANINE_DOWNLOADING = 7407 as const\n\n/**\n * SVTA 7 [Advertising] 408: VAST response contained rejected ad\n *\n * @public\n */\nexport const SVTA_REJECTED_AD = 7408 as const\n\n/**\n * SVTA 7 [Advertising] 409: Could not execute creative defined in interactiveCreativeFile\n *\n * @public\n */\nexport const SVTA_INTERACTIVE_CREATIVE_ERROR = 7409 as const\n\n/**\n * SVTA 7 [Advertising] 410: Could not execute code in verification node\n *\n * @public\n */\nexport const SVTA_VERIFICATION_ERROR = 7410 as const\n\n/**\n * SVTA 7 [Advertising] 500: Video player unable to display non-linear ad for unknown reason\n *\n * @public\n */\nexport const SVTA_NONLINEAR_AD_ERROR = 7500 as const\n\n/**\n * SVTA 7 [Advertising] 501: Non-linear ad dimensions did not match display area\n *\n * @public\n */\nexport const SVTA_NONLINEAR_DIMENSION_MISMATCH = 7501 as const\n\n/**\n * SVTA 7 [Advertising] 502: Unable to fetch non-linear ad resource\n *\n * @public\n */\nexport const SVTA_NONLINEAR_AD_FETCH_ERROR = 7502 as const\n\n/**\n * SVTA 7 [Advertising] 503: Non-linear ad did not contain a supported type\n *\n * @public\n */\nexport const SVTA_UNSUPPORTED_NONLINEAR_AD = 7503 as const\n\n/**\n * SVTA 7 [Advertising] 600: Could not display companion ad (non-fatal)\n *\n * @public\n */\nexport const SVTA_COMPANION_AD_ERROR = 7600 as const\n\n/**\n * SVTA 7 [Advertising] 601: Companion ad dimensions did not match display area\n *\n * @public\n */\nexport const SVTA_COMPANION_DIMENSION_MISMATCH = 7601 as const\n\n/**\n * SVTA 7 [Advertising] 602: Unable to display required companion ad\n *\n * @public\n */\nexport const SVTA_REQUIRED_COMPANION_AD_ERROR = 7602 as const\n\n/**\n * SVTA 7 [Advertising] 603: Unable to fetch companion ad resource\n *\n * @public\n */\nexport const SVTA_COMPANION_AD_FETCH_ERROR = 7603 as const\n\n/**\n * SVTA 7 [Advertising] 900: Undefined VAST error\n *\n * @public\n */\nexport const SVTA_UNDEFINED_VAST_ERROR = 7900 as const\n\n/**\n * SVTA 7 [Advertising] 901: Unknown VPAID error\n *\n * @public\n */\nexport const SVTA_VPAID_ERROR = 7901 as const\n\n/**\n * SVTA 7 [Advertising] 999: VAST response document was empty\n *\n * SVTA2070 maps the four-digit IAB VAST error 1009 to this code.\n *\n * @public\n */\nexport const SVTA_EMPTY_VAST_RESPONSE = 7999 as const\n\n/**\n * SVTA standardized error codes in the Advertising category (7xxx):\n * issues triggered by ad insertion.\n *\n * IAB VAST error codes embed into this category at indices 100 through\n * 999. `7301` is VAST error 301. See `vastErrorToSvtaErrorCode`.\n * VAST defines no error 404, so there is no `7404`. The four-digit VAST\n * error 1009 (empty VAST response) maps to `7999`.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n * @see {@link https://www.iab.com/wp-content/uploads/2016/01/VAST_4-0_2016-01-21.pdf | IAB VAST 4.0 §2.3.6.3 Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaAdvertisingErrorCode = {\n\t/**\n\t * Unknown advertising error\n\t */\n\tUNKNOWN: SVTA_ADVERTISING_UNKNOWN as typeof SVTA_ADVERTISING_UNKNOWN,\n\n\t/**\n\t * Ad blocker detected\n\t */\n\tAD_BLOCKER_DETECTED: SVTA_AD_BLOCKER_DETECTED as typeof SVTA_AD_BLOCKER_DETECTED,\n\n\t/**\n\t * Unable to parse VAST XML\n\t */\n\tVAST_PARSE_ERROR: SVTA_VAST_PARSE_ERROR as typeof SVTA_VAST_PARSE_ERROR,\n\n\t/**\n\t * Invalid VAST schema\n\t */\n\tVAST_SCHEMA_VALIDATION_ERROR: SVTA_VAST_SCHEMA_VALIDATION_ERROR as typeof SVTA_VAST_SCHEMA_VALIDATION_ERROR,\n\n\t/**\n\t * VAST response version not supported\n\t */\n\tVAST_VERSION_UNSUPPORTED: SVTA_VAST_VERSION_UNSUPPORTED as typeof SVTA_VAST_VERSION_UNSUPPORTED,\n\n\t/**\n\t * Video player expected different ad type\n\t */\n\tAD_TYPE_MISMATCH: SVTA_AD_TYPE_MISMATCH as typeof SVTA_AD_TYPE_MISMATCH,\n\n\t/**\n\t * Creative has different linearity than player expected (non-fatal)\n\t */\n\tLINEARITY_MISMATCH: SVTA_LINEARITY_MISMATCH as typeof SVTA_LINEARITY_MISMATCH,\n\n\t/**\n\t * Creative has different duration than player expected (non-fatal)\n\t */\n\tDURATION_MISMATCH: SVTA_DURATION_MISMATCH as typeof SVTA_DURATION_MISMATCH,\n\n\t/**\n\t * Creative has different size than player expected (non-fatal)\n\t */\n\tSIZE_MISMATCH: SVTA_SIZE_MISMATCH as typeof SVTA_SIZE_MISMATCH,\n\n\t/**\n\t * Wrapper failed to deliver VAST response for unknown reason\n\t */\n\tWRAPPER_ERROR: SVTA_WRAPPER_ERROR as typeof SVTA_WRAPPER_ERROR,\n\n\t/**\n\t * VAST response redirect timed out\n\t */\n\tWRAPPER_TIMEOUT: SVTA_WRAPPER_TIMEOUT as typeof SVTA_WRAPPER_TIMEOUT,\n\n\t/**\n\t * Wrapper limit reached (e.g. too many redirects)\n\t */\n\tWRAPPER_LIMIT_REACHED: SVTA_WRAPPER_LIMIT_REACHED as typeof SVTA_WRAPPER_LIMIT_REACHED,\n\n\t/**\n\t * VAST response was empty\n\t */\n\tEMPTY_WRAPPER_RESPONSE: SVTA_EMPTY_WRAPPER_RESPONSE as typeof SVTA_EMPTY_WRAPPER_RESPONSE,\n\n\t/**\n\t * Unable to display linear ad\n\t */\n\tLINEAR_AD_ERROR: SVTA_LINEAR_AD_ERROR as typeof SVTA_LINEAR_AD_ERROR,\n\n\t/**\n\t * Media file not found\n\t */\n\tMEDIA_FILE_NOT_FOUND: SVTA_MEDIA_FILE_NOT_FOUND as typeof SVTA_MEDIA_FILE_NOT_FOUND,\n\n\t/**\n\t * Media file unavailable\n\t */\n\tMEDIA_FILE_UNAVAILABLE: SVTA_MEDIA_FILE_UNAVAILABLE as typeof SVTA_MEDIA_FILE_UNAVAILABLE,\n\n\t/**\n\t * VAST response contained no supported MIME types\n\t */\n\tNO_SUPPORTED_MEDIA_TYPE: SVTA_NO_SUPPORTED_MEDIA_TYPE as typeof SVTA_NO_SUPPORTED_MEDIA_TYPE,\n\n\t/**\n\t * Unable to display media file\n\t */\n\tMEDIA_FILE_DISPLAY_ERROR: SVTA_MEDIA_FILE_DISPLAY_ERROR as typeof SVTA_MEDIA_FILE_DISPLAY_ERROR,\n\n\t/**\n\t * Required mezzanine file missing\n\t */\n\tMEZZANINE_MISSING: SVTA_MEZZANINE_MISSING as typeof SVTA_MEZZANINE_MISSING,\n\n\t/**\n\t * Mezzanine file was downloaded for the first time\n\t */\n\tMEZZANINE_DOWNLOADING: SVTA_MEZZANINE_DOWNLOADING as typeof SVTA_MEZZANINE_DOWNLOADING,\n\n\t/**\n\t * VAST response contained rejected ad\n\t */\n\tREJECTED_AD: SVTA_REJECTED_AD as typeof SVTA_REJECTED_AD,\n\n\t/**\n\t * Could not execute creative defined in interactiveCreativeFile\n\t */\n\tINTERACTIVE_CREATIVE_ERROR: SVTA_INTERACTIVE_CREATIVE_ERROR as typeof SVTA_INTERACTIVE_CREATIVE_ERROR,\n\n\t/**\n\t * Could not execute code in verification node\n\t */\n\tVERIFICATION_ERROR: SVTA_VERIFICATION_ERROR as typeof SVTA_VERIFICATION_ERROR,\n\n\t/**\n\t * Video player unable to display non-linear ad for unknown reason\n\t */\n\tNONLINEAR_AD_ERROR: SVTA_NONLINEAR_AD_ERROR as typeof SVTA_NONLINEAR_AD_ERROR,\n\n\t/**\n\t * Non-linear ad dimensions did not match display area\n\t */\n\tNONLINEAR_DIMENSION_MISMATCH: SVTA_NONLINEAR_DIMENSION_MISMATCH as typeof SVTA_NONLINEAR_DIMENSION_MISMATCH,\n\n\t/**\n\t * Unable to fetch non-linear ad resource\n\t */\n\tNONLINEAR_AD_FETCH_ERROR: SVTA_NONLINEAR_AD_FETCH_ERROR as typeof SVTA_NONLINEAR_AD_FETCH_ERROR,\n\n\t/**\n\t * Non-linear ad did not contain a supported type\n\t */\n\tUNSUPPORTED_NONLINEAR_AD: SVTA_UNSUPPORTED_NONLINEAR_AD as typeof SVTA_UNSUPPORTED_NONLINEAR_AD,\n\n\t/**\n\t * Could not display companion ad (non-fatal)\n\t */\n\tCOMPANION_AD_ERROR: SVTA_COMPANION_AD_ERROR as typeof SVTA_COMPANION_AD_ERROR,\n\n\t/**\n\t * Companion ad dimensions did not match display area\n\t */\n\tCOMPANION_DIMENSION_MISMATCH: SVTA_COMPANION_DIMENSION_MISMATCH as typeof SVTA_COMPANION_DIMENSION_MISMATCH,\n\n\t/**\n\t * Unable to display required companion ad\n\t */\n\tREQUIRED_COMPANION_AD_ERROR: SVTA_REQUIRED_COMPANION_AD_ERROR as typeof SVTA_REQUIRED_COMPANION_AD_ERROR,\n\n\t/**\n\t * Unable to fetch companion ad resource\n\t */\n\tCOMPANION_AD_FETCH_ERROR: SVTA_COMPANION_AD_FETCH_ERROR as typeof SVTA_COMPANION_AD_FETCH_ERROR,\n\n\t/**\n\t * Undefined VAST error\n\t */\n\tUNDEFINED_VAST_ERROR: SVTA_UNDEFINED_VAST_ERROR as typeof SVTA_UNDEFINED_VAST_ERROR,\n\n\t/**\n\t * Unknown VPAID error\n\t */\n\tVPAID_ERROR: SVTA_VPAID_ERROR as typeof SVTA_VPAID_ERROR,\n\n\t/**\n\t * VAST response document was empty\n\t *\n\t * SVTA2070 maps the four-digit IAB VAST error 1009 to this code.\n\t */\n\tEMPTY_VAST_RESPONSE: SVTA_EMPTY_VAST_RESPONSE as typeof SVTA_EMPTY_VAST_RESPONSE,\n} as const\n\n/**\n * Union type of all {@link (SvtaAdvertisingErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaAdvertisingErrorCode = ValueOf<typeof SvtaAdvertisingErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 4 [Content Protection] 000: Unknown content protection error\n *\n * @public\n */\nexport const SVTA_CONTENT_PROTECTION_UNKNOWN = 4000 as const\n\n/**\n * SVTA 4 [Content Protection] 001: Concurrent stream limit exceeded\n *\n * @public\n */\nexport const SVTA_CONCURRENT_STREAM_LIMIT_EXCEEDED = 4001 as const\n\n/**\n * SVTA 4 [Content Protection] 002: Entitlement refused\n *\n * @public\n */\nexport const SVTA_ENTITLEMENT_REFUSED = 4002 as const\n\n/**\n * SVTA 4 [Content Protection] 003: License expired\n *\n * @public\n */\nexport const SVTA_LICENSE_EXPIRED = 4003 as const\n\n/**\n * SVTA 4 [Content Protection] 004: Bad license request\n *\n * @public\n */\nexport const SVTA_BAD_LICENSE_REQUEST = 4004 as const\n\n/**\n * SVTA 4 [Content Protection] 005: License server timeout\n *\n * @public\n */\nexport const SVTA_LICENSE_SERVER_TIMEOUT = 4005 as const\n\n/**\n * SVTA 4 [Content Protection] 006: Insufficient DRM robustness level\n *\n * @public\n */\nexport const SVTA_INSUFFICIENT_DRM_ROBUSTNESS = 4006 as const\n\n/**\n * SVTA 4 [Content Protection] 007: Insufficient output protection\n *\n * @public\n */\nexport const SVTA_INSUFFICIENT_OUTPUT_PROTECTION = 4007 as const\n\n/**\n * SVTA 4 [Content Protection] 008: Unsupported or unavailable DRM system\n *\n * @public\n */\nexport const SVTA_UNSUPPORTED_DRM_SYSTEM = 4008 as const\n\n/**\n * SVTA 4 [Content Protection] 009: Access restricted due to unsupported geo\n *\n * @public\n */\nexport const SVTA_GEO_RESTRICTED = 4009 as const\n\n/**\n * SVTA 4 [Content Protection] 010: DRM initialization error\n *\n * @public\n */\nexport const SVTA_DRM_INITIALIZATION_ERROR = 4010 as const\n\n/**\n * SVTA 4 [Content Protection] 011: CDN unauthorized\n *\n * @public\n */\nexport const SVTA_CDN_UNAUTHORIZED = 4011 as const\n\n/**\n * SVTA 4 [Content Protection] 012: Invalid access token\n *\n * @public\n */\nexport const SVTA_INVALID_ACCESS_TOKEN = 4012 as const\n\n/**\n * SVTA 4 [Content Protection] 013: DRM certificate error\n *\n * @public\n */\nexport const SVTA_DRM_CERTIFICATE_ERROR = 4013 as const\n\n/**\n * SVTA 4 [Content Protection] 014: DRM session error\n *\n * @public\n */\nexport const SVTA_DRM_SESSION_ERROR = 4014 as const\n\n/**\n * SVTA 4 [Content Protection] 015: DRM initialization data or configuration missing\n *\n * @public\n */\nexport const SVTA_DRM_CONFIGURATION_MISSING = 4015 as const\n\n/**\n * SVTA 4 [Content Protection] 016: DRM license response rejected\n *\n * @public\n */\nexport const SVTA_LICENSE_RESPONSE_REJECTED = 4016 as const\n\n/**\n * SVTA 4 [Content Protection] 017: Persistent session DRM error\n *\n * @public\n */\nexport const SVTA_PERSISTENT_SESSION_ERROR = 4017 as const\n\n/**\n * SVTA 4 [Content Protection] 018: Required permission rejected\n *\n * @public\n */\nexport const SVTA_PERMISSION_REJECTED = 4018 as const\n\n/**\n * SVTA 4 [Content Protection] 019: Failed to load decryption key\n *\n * @public\n */\nexport const SVTA_KEY_LOAD_ERROR = 4019 as const\n\n/**\n * SVTA 4 [Content Protection] 020: Failed to decrypt segment\n *\n * @public\n */\nexport const SVTA_SEGMENT_DECRYPTION_ERROR = 4020 as const\n\n/**\n * SVTA 4 [Content Protection] 021: Failed to generate DRM license request\n *\n * @public\n */\nexport const SVTA_LICENSE_REQUEST_GENERATION_ERROR = 4021 as const\n\n/**\n * SVTA standardized error codes in the Content Protection category\n * (4xxx): security related errors, including authentication and\n * entitlement issues.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaContentProtectionErrorCode = {\n\t/**\n\t * Unknown content protection error\n\t */\n\tUNKNOWN: SVTA_CONTENT_PROTECTION_UNKNOWN as typeof SVTA_CONTENT_PROTECTION_UNKNOWN,\n\n\t/**\n\t * Concurrent stream limit exceeded\n\t */\n\tCONCURRENT_STREAM_LIMIT_EXCEEDED: SVTA_CONCURRENT_STREAM_LIMIT_EXCEEDED as typeof SVTA_CONCURRENT_STREAM_LIMIT_EXCEEDED,\n\n\t/**\n\t * Entitlement refused\n\t */\n\tENTITLEMENT_REFUSED: SVTA_ENTITLEMENT_REFUSED as typeof SVTA_ENTITLEMENT_REFUSED,\n\n\t/**\n\t * License expired\n\t */\n\tLICENSE_EXPIRED: SVTA_LICENSE_EXPIRED as typeof SVTA_LICENSE_EXPIRED,\n\n\t/**\n\t * Bad license request\n\t */\n\tBAD_LICENSE_REQUEST: SVTA_BAD_LICENSE_REQUEST as typeof SVTA_BAD_LICENSE_REQUEST,\n\n\t/**\n\t * License server timeout\n\t */\n\tLICENSE_SERVER_TIMEOUT: SVTA_LICENSE_SERVER_TIMEOUT as typeof SVTA_LICENSE_SERVER_TIMEOUT,\n\n\t/**\n\t * Insufficient DRM robustness level\n\t */\n\tINSUFFICIENT_DRM_ROBUSTNESS: SVTA_INSUFFICIENT_DRM_ROBUSTNESS as typeof SVTA_INSUFFICIENT_DRM_ROBUSTNESS,\n\n\t/**\n\t * Insufficient output protection\n\t */\n\tINSUFFICIENT_OUTPUT_PROTECTION: SVTA_INSUFFICIENT_OUTPUT_PROTECTION as typeof SVTA_INSUFFICIENT_OUTPUT_PROTECTION,\n\n\t/**\n\t * Unsupported or unavailable DRM system\n\t */\n\tUNSUPPORTED_DRM_SYSTEM: SVTA_UNSUPPORTED_DRM_SYSTEM as typeof SVTA_UNSUPPORTED_DRM_SYSTEM,\n\n\t/**\n\t * Access restricted due to unsupported geo\n\t */\n\tGEO_RESTRICTED: SVTA_GEO_RESTRICTED as typeof SVTA_GEO_RESTRICTED,\n\n\t/**\n\t * DRM initialization error\n\t */\n\tDRM_INITIALIZATION_ERROR: SVTA_DRM_INITIALIZATION_ERROR as typeof SVTA_DRM_INITIALIZATION_ERROR,\n\n\t/**\n\t * CDN unauthorized\n\t */\n\tCDN_UNAUTHORIZED: SVTA_CDN_UNAUTHORIZED as typeof SVTA_CDN_UNAUTHORIZED,\n\n\t/**\n\t * Invalid access token\n\t */\n\tINVALID_ACCESS_TOKEN: SVTA_INVALID_ACCESS_TOKEN as typeof SVTA_INVALID_ACCESS_TOKEN,\n\n\t/**\n\t * DRM certificate error\n\t */\n\tDRM_CERTIFICATE_ERROR: SVTA_DRM_CERTIFICATE_ERROR as typeof SVTA_DRM_CERTIFICATE_ERROR,\n\n\t/**\n\t * DRM session error\n\t */\n\tDRM_SESSION_ERROR: SVTA_DRM_SESSION_ERROR as typeof SVTA_DRM_SESSION_ERROR,\n\n\t/**\n\t * DRM initialization data or configuration missing\n\t */\n\tDRM_CONFIGURATION_MISSING: SVTA_DRM_CONFIGURATION_MISSING as typeof SVTA_DRM_CONFIGURATION_MISSING,\n\n\t/**\n\t * DRM license response rejected\n\t */\n\tLICENSE_RESPONSE_REJECTED: SVTA_LICENSE_RESPONSE_REJECTED as typeof SVTA_LICENSE_RESPONSE_REJECTED,\n\n\t/**\n\t * Persistent session DRM error\n\t */\n\tPERSISTENT_SESSION_ERROR: SVTA_PERSISTENT_SESSION_ERROR as typeof SVTA_PERSISTENT_SESSION_ERROR,\n\n\t/**\n\t * Required permission rejected\n\t */\n\tPERMISSION_REJECTED: SVTA_PERMISSION_REJECTED as typeof SVTA_PERMISSION_REJECTED,\n\n\t/**\n\t * Failed to load decryption key\n\t */\n\tKEY_LOAD_ERROR: SVTA_KEY_LOAD_ERROR as typeof SVTA_KEY_LOAD_ERROR,\n\n\t/**\n\t * Failed to decrypt segment\n\t */\n\tSEGMENT_DECRYPTION_ERROR: SVTA_SEGMENT_DECRYPTION_ERROR as typeof SVTA_SEGMENT_DECRYPTION_ERROR,\n\n\t/**\n\t * Failed to generate DRM license request\n\t */\n\tLICENSE_REQUEST_GENERATION_ERROR: SVTA_LICENSE_REQUEST_GENERATION_ERROR as typeof SVTA_LICENSE_REQUEST_GENERATION_ERROR,\n} as const\n\n/**\n * Union type of all {@link (SvtaContentProtectionErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaContentProtectionErrorCode = ValueOf<typeof SvtaContentProtectionErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 99 [Custom] 000: Unknown custom error\n *\n * @public\n */\nexport const SVTA_CUSTOM_UNKNOWN = 99000 as const\n\n/**\n * SVTA standardized error code in the Custom category (99xxx): the\n * category reserved for Publisher-defined errors. Codes 99001 through\n * 99999 are available for bespoke Publisher use.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaCustomErrorCode = {\n\t/**\n\t * Unknown custom error\n\t */\n\tUNKNOWN: SVTA_CUSTOM_UNKNOWN as typeof SVTA_CUSTOM_UNKNOWN,\n} as const\n\n/**\n * Union type of all {@link (SvtaCustomErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaCustomErrorCode = ValueOf<typeof SvtaCustomErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 1 [Media Content] 000: Unknown media content error\n *\n * @public\n */\nexport const SVTA_MEDIA_CONTENT_UNKNOWN = 1000 as const\n\n/**\n * SVTA 1 [Media Content] 001: Media unavailable\n *\n * @public\n */\nexport const SVTA_MEDIA_UNAVAILABLE = 1001 as const\n\n/**\n * SVTA 1 [Media Content] 002: Invalid manifest\n *\n * @public\n */\nexport const SVTA_INVALID_MANIFEST = 1002 as const\n\n/**\n * SVTA 1 [Media Content] 003: Track not available\n *\n * @public\n */\nexport const SVTA_TRACK_NOT_AVAILABLE = 1003 as const\n\n/**\n * SVTA 1 [Media Content] 004: Unsupported video format\n *\n * @public\n */\nexport const SVTA_UNSUPPORTED_VIDEO_FORMAT = 1004 as const\n\n/**\n * SVTA 1 [Media Content] 005: Unsupported audio format\n *\n * @public\n */\nexport const SVTA_UNSUPPORTED_AUDIO_FORMAT = 1005 as const\n\n/**\n * SVTA 1 [Media Content] 006: Unsupported text format\n *\n * @public\n */\nexport const SVTA_UNSUPPORTED_TEXT_FORMAT = 1006 as const\n\n/**\n * SVTA 1 [Media Content] 007: Invalid composition track segment time\n *\n * @public\n */\nexport const SVTA_INVALID_COMPOSITION_TRACK_SEGMENT_TIME = 1007 as const\n\n/**\n * SVTA 1 [Media Content] 008: Segment exceeds specified bitrate for track\n *\n * @public\n */\nexport const SVTA_SEGMENT_EXCEEDS_TRACK_BITRATE = 1008 as const\n\n/**\n * SVTA 1 [Media Content] 009: Misaligned track duration\n *\n * @public\n */\nexport const SVTA_MISALIGNED_TRACK_DURATION = 1009 as const\n\n/**\n * SVTA standardized error codes in the Media Content category (1xxx):\n * issues with the content itself.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaMediaContentErrorCode = {\n\t/**\n\t * Unknown media content error\n\t */\n\tUNKNOWN: SVTA_MEDIA_CONTENT_UNKNOWN as typeof SVTA_MEDIA_CONTENT_UNKNOWN,\n\n\t/**\n\t * Media unavailable\n\t */\n\tMEDIA_UNAVAILABLE: SVTA_MEDIA_UNAVAILABLE as typeof SVTA_MEDIA_UNAVAILABLE,\n\n\t/**\n\t * Invalid manifest\n\t */\n\tINVALID_MANIFEST: SVTA_INVALID_MANIFEST as typeof SVTA_INVALID_MANIFEST,\n\n\t/**\n\t * Track not available\n\t */\n\tTRACK_NOT_AVAILABLE: SVTA_TRACK_NOT_AVAILABLE as typeof SVTA_TRACK_NOT_AVAILABLE,\n\n\t/**\n\t * Unsupported video format\n\t */\n\tUNSUPPORTED_VIDEO_FORMAT: SVTA_UNSUPPORTED_VIDEO_FORMAT as typeof SVTA_UNSUPPORTED_VIDEO_FORMAT,\n\n\t/**\n\t * Unsupported audio format\n\t */\n\tUNSUPPORTED_AUDIO_FORMAT: SVTA_UNSUPPORTED_AUDIO_FORMAT as typeof SVTA_UNSUPPORTED_AUDIO_FORMAT,\n\n\t/**\n\t * Unsupported text format\n\t */\n\tUNSUPPORTED_TEXT_FORMAT: SVTA_UNSUPPORTED_TEXT_FORMAT as typeof SVTA_UNSUPPORTED_TEXT_FORMAT,\n\n\t/**\n\t * Invalid composition track segment time\n\t */\n\tINVALID_COMPOSITION_TRACK_SEGMENT_TIME: SVTA_INVALID_COMPOSITION_TRACK_SEGMENT_TIME as typeof SVTA_INVALID_COMPOSITION_TRACK_SEGMENT_TIME,\n\n\t/**\n\t * Segment exceeds specified bitrate for track\n\t */\n\tSEGMENT_EXCEEDS_TRACK_BITRATE: SVTA_SEGMENT_EXCEEDS_TRACK_BITRATE as typeof SVTA_SEGMENT_EXCEEDS_TRACK_BITRATE,\n\n\t/**\n\t * Misaligned track duration\n\t */\n\tMISALIGNED_TRACK_DURATION: SVTA_MISALIGNED_TRACK_DURATION as typeof SVTA_MISALIGNED_TRACK_DURATION,\n} as const\n\n/**\n * Union type of all {@link (SvtaMediaContentErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaMediaContentErrorCode = ValueOf<typeof SvtaMediaContentErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 3 [Network] 000: Unknown network error\n *\n * @public\n */\nexport const SVTA_NETWORK_UNKNOWN = 3000 as const\n\n/**\n * SVTA 3 [Network] 001: No network connection\n *\n * @public\n */\nexport const SVTA_NO_NETWORK_CONNECTION = 3001 as const\n\n/**\n * SVTA 3 [Network] 002: HTTP timeout\n *\n * @public\n */\nexport const SVTA_HTTP_TIMEOUT = 3002 as const\n\n/**\n * SVTA 3 [Network] 003: Unable to resolve host\n *\n * @public\n */\nexport const SVTA_HOST_RESOLUTION_ERROR = 3003 as const\n\n/**\n * SVTA 3 [Network] 004: Resource not found\n *\n * @public\n */\nexport const SVTA_RESOURCE_NOT_FOUND = 3004 as const\n\n/**\n * SVTA 3 [Network] 005: Invalid URI\n *\n * @public\n */\nexport const SVTA_INVALID_URI = 3005 as const\n\n/**\n * SVTA 3 [Network] 006: Unsupported URI scheme\n *\n * @public\n */\nexport const SVTA_UNSUPPORTED_URI_SCHEME = 3006 as const\n\n/**\n * SVTA 3 [Network] 007: Download error\n *\n * @public\n */\nexport const SVTA_DOWNLOAD_ERROR = 3007 as const\n\n/**\n * SVTA 3 [Network] 008: Max retries have been exceeded\n *\n * @public\n */\nexport const SVTA_MAX_RETRIES_EXCEEDED = 3008 as const\n\n/**\n * SVTA 3 [Network] 009: Insufficient bandwidth to support playback of current presentation\n *\n * @public\n */\nexport const SVTA_INSUFFICIENT_BANDWIDTH = 3009 as const\n\n/**\n * SVTA 3 [Network] 010: Resource denied\n *\n * @public\n */\nexport const SVTA_RESOURCE_DENIED = 3010 as const\n\n/**\n * SVTA 3 [Network] 011: Invalid HTTP content type value\n *\n * @public\n */\nexport const SVTA_INVALID_HTTP_CONTENT_TYPE = 3011 as const\n\n/**\n * SVTA standardized error codes in the Network category (3xxx): issues\n * on the network, including unavailable resources.\n *\n * HTTP response status codes embed into this category at indices 100\n * through 599. `3404` is an HTTP 404 response. See\n * `httpStatusToSvtaErrorCode`.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaNetworkErrorCode = {\n\t/**\n\t * Unknown network error\n\t */\n\tUNKNOWN: SVTA_NETWORK_UNKNOWN as typeof SVTA_NETWORK_UNKNOWN,\n\n\t/**\n\t * No network connection\n\t */\n\tNO_NETWORK_CONNECTION: SVTA_NO_NETWORK_CONNECTION as typeof SVTA_NO_NETWORK_CONNECTION,\n\n\t/**\n\t * HTTP timeout\n\t */\n\tHTTP_TIMEOUT: SVTA_HTTP_TIMEOUT as typeof SVTA_HTTP_TIMEOUT,\n\n\t/**\n\t * Unable to resolve host\n\t */\n\tHOST_RESOLUTION_ERROR: SVTA_HOST_RESOLUTION_ERROR as typeof SVTA_HOST_RESOLUTION_ERROR,\n\n\t/**\n\t * Resource not found\n\t */\n\tRESOURCE_NOT_FOUND: SVTA_RESOURCE_NOT_FOUND as typeof SVTA_RESOURCE_NOT_FOUND,\n\n\t/**\n\t * Invalid URI\n\t */\n\tINVALID_URI: SVTA_INVALID_URI as typeof SVTA_INVALID_URI,\n\n\t/**\n\t * Unsupported URI scheme\n\t */\n\tUNSUPPORTED_URI_SCHEME: SVTA_UNSUPPORTED_URI_SCHEME as typeof SVTA_UNSUPPORTED_URI_SCHEME,\n\n\t/**\n\t * Download error\n\t */\n\tDOWNLOAD_ERROR: SVTA_DOWNLOAD_ERROR as typeof SVTA_DOWNLOAD_ERROR,\n\n\t/**\n\t * Max retries have been exceeded\n\t */\n\tMAX_RETRIES_EXCEEDED: SVTA_MAX_RETRIES_EXCEEDED as typeof SVTA_MAX_RETRIES_EXCEEDED,\n\n\t/**\n\t * Insufficient bandwidth to support playback of current presentation\n\t */\n\tINSUFFICIENT_BANDWIDTH: SVTA_INSUFFICIENT_BANDWIDTH as typeof SVTA_INSUFFICIENT_BANDWIDTH,\n\n\t/**\n\t * Resource denied\n\t */\n\tRESOURCE_DENIED: SVTA_RESOURCE_DENIED as typeof SVTA_RESOURCE_DENIED,\n\n\t/**\n\t * Invalid HTTP content type value\n\t */\n\tINVALID_HTTP_CONTENT_TYPE: SVTA_INVALID_HTTP_CONTENT_TYPE as typeof SVTA_INVALID_HTTP_CONTENT_TYPE,\n} as const\n\n/**\n * Union type of all {@link (SvtaNetworkErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaNetworkErrorCode = ValueOf<typeof SvtaNetworkErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 2 [Playback] 000: Unknown playback error\n *\n * @public\n */\nexport const SVTA_PLAYBACK_UNKNOWN = 2000 as const\n\n/**\n * SVTA 2 [Playback] 001: Video buffer underrun\n *\n * @public\n */\nexport const SVTA_VIDEO_BUFFER_UNDERRUN = 2001 as const\n\n/**\n * SVTA 2 [Playback] 002: Audio buffer underrun\n *\n * @public\n */\nexport const SVTA_AUDIO_BUFFER_UNDERRUN = 2002 as const\n\n/**\n * SVTA 2 [Playback] 003: Video buffering timeout\n *\n * @public\n */\nexport const SVTA_VIDEO_BUFFERING_TIMEOUT = 2003 as const\n\n/**\n * SVTA 2 [Playback] 004: Audio buffering timeout\n *\n * @public\n */\nexport const SVTA_AUDIO_BUFFERING_TIMEOUT = 2004 as const\n\n/**\n * SVTA 2 [Playback] 005: Unable to parse manifest\n *\n * @public\n */\nexport const SVTA_MANIFEST_PARSE_ERROR = 2005 as const\n\n/**\n * SVTA 2 [Playback] 006: Segment parse error\n *\n * @public\n */\nexport const SVTA_SEGMENT_PARSE_ERROR = 2006 as const\n\n/**\n * SVTA 2 [Playback] 007: Unable to decode video\n *\n * @public\n */\nexport const SVTA_VIDEO_DECODE_ERROR = 2007 as const\n\n/**\n * SVTA 2 [Playback] 008: Unable to decode audio\n *\n * @public\n */\nexport const SVTA_AUDIO_DECODE_ERROR = 2008 as const\n\n/**\n * SVTA 2 [Playback] 009: Video dropped frame count exceeds threshold\n *\n * @public\n */\nexport const SVTA_VIDEO_DROPPED_FRAMES_EXCEEDED = 2009 as const\n\n/**\n * SVTA 2 [Playback] 010: Playhead exceeds content duration\n *\n * @public\n */\nexport const SVTA_PLAYHEAD_EXCEEDS_CONTENT_DURATION = 2010 as const\n\n/**\n * SVTA 2 [Playback] 011: No supported video track\n *\n * @public\n */\nexport const SVTA_NO_SUPPORTED_VIDEO_TRACK = 2011 as const\n\n/**\n * SVTA 2 [Playback] 012: No supported audio track\n *\n * @public\n */\nexport const SVTA_NO_SUPPORTED_AUDIO_TRACK = 2012 as const\n\n/**\n * SVTA 2 [Playback] 013: No matching codec / profile / level\n *\n * @public\n */\nexport const SVTA_NO_MATCHING_CODEC = 2013 as const\n\n/**\n * SVTA 2 [Playback] 014: Primary manifest load error\n *\n * @public\n */\nexport const SVTA_PRIMARY_MANIFEST_LOAD_ERROR = 2014 as const\n\n/**\n * SVTA 2 [Playback] 015: Primary manifest load timeout\n *\n * @public\n */\nexport const SVTA_PRIMARY_MANIFEST_LOAD_TIMEOUT = 2015 as const\n\n/**\n * SVTA 2 [Playback] 016: Unable to parse track from manifest\n *\n * @public\n */\nexport const SVTA_MANIFEST_TRACK_PARSE_ERROR = 2016 as const\n\n/**\n * SVTA 2 [Playback] 017: Secondary manifest / asset list load error\n *\n * @public\n */\nexport const SVTA_SECONDARY_MANIFEST_LOAD_ERROR = 2017 as const\n\n/**\n * SVTA 2 [Playback] 018: Unable to parse secondary manifest / asset list\n *\n * @public\n */\nexport const SVTA_SECONDARY_MANIFEST_PARSE_ERROR = 2018 as const\n\n/**\n * SVTA 2 [Playback] 019: Unable to switch tracks\n *\n * @public\n */\nexport const SVTA_TRACK_SWITCH_ERROR = 2019 as const\n\n/**\n * SVTA 2 [Playback] 020: Track load error\n *\n * @public\n */\nexport const SVTA_TRACK_LOAD_ERROR = 2020 as const\n\n/**\n * SVTA 2 [Playback] 021: Remux issue\n *\n * @public\n */\nexport const SVTA_REMUX_ERROR = 2021 as const\n\n/**\n * SVTA 2 [Playback] 022: Buffer initialization error\n *\n * @public\n */\nexport const SVTA_BUFFER_INITIALIZATION_ERROR = 2022 as const\n\n/**\n * SVTA 2 [Playback] 023: Buffer append error\n *\n * @public\n */\nexport const SVTA_BUFFER_APPEND_ERROR = 2023 as const\n\n/**\n * SVTA 2 [Playback] 024: Buffer remove error\n *\n * @public\n */\nexport const SVTA_BUFFER_REMOVE_ERROR = 2024 as const\n\n/**\n * SVTA 2 [Playback] 025: Buffer full error\n *\n * @public\n */\nexport const SVTA_BUFFER_FULL_ERROR = 2025 as const\n\n/**\n * SVTA 2 [Playback] 026: Buffer seek over hole\n *\n * @public\n */\nexport const SVTA_BUFFER_SEEK_OVER_HOLE = 2026 as const\n\n/**\n * SVTA 2 [Playback] 027: Buffer nudge on stall\n *\n * @public\n */\nexport const SVTA_BUFFER_NUDGE_ON_STALL = 2027 as const\n\n/**\n * SVTA 2 [Playback] 028: Out of memory\n *\n * @public\n */\nexport const SVTA_OUT_OF_MEMORY = 2028 as const\n\n/**\n * SVTA 2 [Playback] 029: Segment load error\n *\n * @public\n */\nexport const SVTA_SEGMENT_LOAD_ERROR = 2029 as const\n\n/**\n * SVTA 2 [Playback] 030: Segment timeout error\n *\n * @public\n */\nexport const SVTA_SEGMENT_TIMEOUT_ERROR = 2030 as const\n\n/**\n * SVTA 2 [Playback] 031: Initialization segment error\n *\n * @public\n */\nexport const SVTA_INITIALIZATION_SEGMENT_ERROR = 2031 as const\n\n/**\n * SVTA 2 [Playback] 032: Time sync failed error\n *\n * @public\n */\nexport const SVTA_TIME_SYNC_ERROR = 2032 as const\n\n/**\n * SVTA 2 [Playback] 033: Fragment load error\n *\n * @public\n */\nexport const SVTA_FRAGMENT_LOAD_ERROR = 2033 as const\n\n/**\n * SVTA 2 [Playback] 034: Fragment timeout error\n *\n * @public\n */\nexport const SVTA_FRAGMENT_TIMEOUT_ERROR = 2034 as const\n\n/**\n * SVTA 2 [Playback] 035: Live timeshifting content out of bounds\n *\n * @public\n */\nexport const SVTA_LIVE_TIMESHIFT_OUT_OF_BOUNDS = 2035 as const\n\n/**\n * SVTA 2 [Playback] 036: Switched to higher latency\n *\n * @public\n */\nexport const SVTA_SWITCHED_TO_HIGHER_LATENCY = 2036 as const\n\n/**\n * SVTA 2 [Playback] 037: Unable to switch to fullscreen\n *\n * @public\n */\nexport const SVTA_FULLSCREEN_ERROR = 2037 as const\n\n/**\n * SVTA 2 [Playback] 038: Unable to present picture-in-picture\n *\n * @public\n */\nexport const SVTA_PICTURE_IN_PICTURE_ERROR = 2038 as const\n\n/**\n * SVTA 2 [Playback] 039: Manifest feature unsupported\n *\n * @public\n */\nexport const SVTA_MANIFEST_FEATURE_UNSUPPORTED = 2039 as const\n\n/**\n * SVTA 2 [Playback] 040: Content steering manifest load error\n *\n * @public\n */\nexport const SVTA_CONTENT_STEERING_MANIFEST_LOAD_ERROR = 2040 as const\n\n/**\n * SVTA 2 [Playback] 041: Unable to parse content steering manifest\n *\n * @public\n */\nexport const SVTA_CONTENT_STEERING_MANIFEST_PARSE_ERROR = 2041 as const\n\n/**\n * SVTA standardized error codes in the Playback category (2xxx): the\n * player is unable to sustain the playback experience.\n *\n * When signalling a buffer event for a track the player cannot identify,\n * the spec designates `VIDEO_BUFFER_UNDERRUN` (2001) as the default.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaPlaybackErrorCode = {\n\t/**\n\t * Unknown playback error\n\t */\n\tUNKNOWN: SVTA_PLAYBACK_UNKNOWN as typeof SVTA_PLAYBACK_UNKNOWN,\n\n\t/**\n\t * Video buffer underrun\n\t */\n\tVIDEO_BUFFER_UNDERRUN: SVTA_VIDEO_BUFFER_UNDERRUN as typeof SVTA_VIDEO_BUFFER_UNDERRUN,\n\n\t/**\n\t * Audio buffer underrun\n\t */\n\tAUDIO_BUFFER_UNDERRUN: SVTA_AUDIO_BUFFER_UNDERRUN as typeof SVTA_AUDIO_BUFFER_UNDERRUN,\n\n\t/**\n\t * Video buffering timeout\n\t */\n\tVIDEO_BUFFERING_TIMEOUT: SVTA_VIDEO_BUFFERING_TIMEOUT as typeof SVTA_VIDEO_BUFFERING_TIMEOUT,\n\n\t/**\n\t * Audio buffering timeout\n\t */\n\tAUDIO_BUFFERING_TIMEOUT: SVTA_AUDIO_BUFFERING_TIMEOUT as typeof SVTA_AUDIO_BUFFERING_TIMEOUT,\n\n\t/**\n\t * Unable to parse manifest\n\t */\n\tMANIFEST_PARSE_ERROR: SVTA_MANIFEST_PARSE_ERROR as typeof SVTA_MANIFEST_PARSE_ERROR,\n\n\t/**\n\t * Segment parse error\n\t */\n\tSEGMENT_PARSE_ERROR: SVTA_SEGMENT_PARSE_ERROR as typeof SVTA_SEGMENT_PARSE_ERROR,\n\n\t/**\n\t * Unable to decode video\n\t */\n\tVIDEO_DECODE_ERROR: SVTA_VIDEO_DECODE_ERROR as typeof SVTA_VIDEO_DECODE_ERROR,\n\n\t/**\n\t * Unable to decode audio\n\t */\n\tAUDIO_DECODE_ERROR: SVTA_AUDIO_DECODE_ERROR as typeof SVTA_AUDIO_DECODE_ERROR,\n\n\t/**\n\t * Video dropped frame count exceeds threshold\n\t */\n\tVIDEO_DROPPED_FRAMES_EXCEEDED: SVTA_VIDEO_DROPPED_FRAMES_EXCEEDED as typeof SVTA_VIDEO_DROPPED_FRAMES_EXCEEDED,\n\n\t/**\n\t * Playhead exceeds content duration\n\t */\n\tPLAYHEAD_EXCEEDS_CONTENT_DURATION: SVTA_PLAYHEAD_EXCEEDS_CONTENT_DURATION as typeof SVTA_PLAYHEAD_EXCEEDS_CONTENT_DURATION,\n\n\t/**\n\t * No supported video track\n\t */\n\tNO_SUPPORTED_VIDEO_TRACK: SVTA_NO_SUPPORTED_VIDEO_TRACK as typeof SVTA_NO_SUPPORTED_VIDEO_TRACK,\n\n\t/**\n\t * No supported audio track\n\t */\n\tNO_SUPPORTED_AUDIO_TRACK: SVTA_NO_SUPPORTED_AUDIO_TRACK as typeof SVTA_NO_SUPPORTED_AUDIO_TRACK,\n\n\t/**\n\t * No matching codec / profile / level\n\t */\n\tNO_MATCHING_CODEC: SVTA_NO_MATCHING_CODEC as typeof SVTA_NO_MATCHING_CODEC,\n\n\t/**\n\t * Primary manifest load error\n\t */\n\tPRIMARY_MANIFEST_LOAD_ERROR: SVTA_PRIMARY_MANIFEST_LOAD_ERROR as typeof SVTA_PRIMARY_MANIFEST_LOAD_ERROR,\n\n\t/**\n\t * Primary manifest load timeout\n\t */\n\tPRIMARY_MANIFEST_LOAD_TIMEOUT: SVTA_PRIMARY_MANIFEST_LOAD_TIMEOUT as typeof SVTA_PRIMARY_MANIFEST_LOAD_TIMEOUT,\n\n\t/**\n\t * Unable to parse track from manifest\n\t */\n\tMANIFEST_TRACK_PARSE_ERROR: SVTA_MANIFEST_TRACK_PARSE_ERROR as typeof SVTA_MANIFEST_TRACK_PARSE_ERROR,\n\n\t/**\n\t * Secondary manifest / asset list load error\n\t */\n\tSECONDARY_MANIFEST_LOAD_ERROR: SVTA_SECONDARY_MANIFEST_LOAD_ERROR as typeof SVTA_SECONDARY_MANIFEST_LOAD_ERROR,\n\n\t/**\n\t * Unable to parse secondary manifest / asset list\n\t */\n\tSECONDARY_MANIFEST_PARSE_ERROR: SVTA_SECONDARY_MANIFEST_PARSE_ERROR as typeof SVTA_SECONDARY_MANIFEST_PARSE_ERROR,\n\n\t/**\n\t * Unable to switch tracks\n\t */\n\tTRACK_SWITCH_ERROR: SVTA_TRACK_SWITCH_ERROR as typeof SVTA_TRACK_SWITCH_ERROR,\n\n\t/**\n\t * Track load error\n\t */\n\tTRACK_LOAD_ERROR: SVTA_TRACK_LOAD_ERROR as typeof SVTA_TRACK_LOAD_ERROR,\n\n\t/**\n\t * Remux issue\n\t */\n\tREMUX_ERROR: SVTA_REMUX_ERROR as typeof SVTA_REMUX_ERROR,\n\n\t/**\n\t * Buffer initialization error\n\t */\n\tBUFFER_INITIALIZATION_ERROR: SVTA_BUFFER_INITIALIZATION_ERROR as typeof SVTA_BUFFER_INITIALIZATION_ERROR,\n\n\t/**\n\t * Buffer append error\n\t */\n\tBUFFER_APPEND_ERROR: SVTA_BUFFER_APPEND_ERROR as typeof SVTA_BUFFER_APPEND_ERROR,\n\n\t/**\n\t * Buffer remove error\n\t */\n\tBUFFER_REMOVE_ERROR: SVTA_BUFFER_REMOVE_ERROR as typeof SVTA_BUFFER_REMOVE_ERROR,\n\n\t/**\n\t * Buffer full error\n\t */\n\tBUFFER_FULL_ERROR: SVTA_BUFFER_FULL_ERROR as typeof SVTA_BUFFER_FULL_ERROR,\n\n\t/**\n\t * Buffer seek over hole\n\t */\n\tBUFFER_SEEK_OVER_HOLE: SVTA_BUFFER_SEEK_OVER_HOLE as typeof SVTA_BUFFER_SEEK_OVER_HOLE,\n\n\t/**\n\t * Buffer nudge on stall\n\t */\n\tBUFFER_NUDGE_ON_STALL: SVTA_BUFFER_NUDGE_ON_STALL as typeof SVTA_BUFFER_NUDGE_ON_STALL,\n\n\t/**\n\t * Out of memory\n\t */\n\tOUT_OF_MEMORY: SVTA_OUT_OF_MEMORY as typeof SVTA_OUT_OF_MEMORY,\n\n\t/**\n\t * Segment load error\n\t */\n\tSEGMENT_LOAD_ERROR: SVTA_SEGMENT_LOAD_ERROR as typeof SVTA_SEGMENT_LOAD_ERROR,\n\n\t/**\n\t * Segment timeout error\n\t */\n\tSEGMENT_TIMEOUT_ERROR: SVTA_SEGMENT_TIMEOUT_ERROR as typeof SVTA_SEGMENT_TIMEOUT_ERROR,\n\n\t/**\n\t * Initialization segment error\n\t */\n\tINITIALIZATION_SEGMENT_ERROR: SVTA_INITIALIZATION_SEGMENT_ERROR as typeof SVTA_INITIALIZATION_SEGMENT_ERROR,\n\n\t/**\n\t * Time sync failed error\n\t */\n\tTIME_SYNC_ERROR: SVTA_TIME_SYNC_ERROR as typeof SVTA_TIME_SYNC_ERROR,\n\n\t/**\n\t * Fragment load error\n\t */\n\tFRAGMENT_LOAD_ERROR: SVTA_FRAGMENT_LOAD_ERROR as typeof SVTA_FRAGMENT_LOAD_ERROR,\n\n\t/**\n\t * Fragment timeout error\n\t */\n\tFRAGMENT_TIMEOUT_ERROR: SVTA_FRAGMENT_TIMEOUT_ERROR as typeof SVTA_FRAGMENT_TIMEOUT_ERROR,\n\n\t/**\n\t * Live timeshifting content out of bounds\n\t */\n\tLIVE_TIMESHIFT_OUT_OF_BOUNDS: SVTA_LIVE_TIMESHIFT_OUT_OF_BOUNDS as typeof SVTA_LIVE_TIMESHIFT_OUT_OF_BOUNDS,\n\n\t/**\n\t * Switched to higher latency\n\t */\n\tSWITCHED_TO_HIGHER_LATENCY: SVTA_SWITCHED_TO_HIGHER_LATENCY as typeof SVTA_SWITCHED_TO_HIGHER_LATENCY,\n\n\t/**\n\t * Unable to switch to fullscreen\n\t */\n\tFULLSCREEN_ERROR: SVTA_FULLSCREEN_ERROR as typeof SVTA_FULLSCREEN_ERROR,\n\n\t/**\n\t * Unable to present picture-in-picture\n\t */\n\tPICTURE_IN_PICTURE_ERROR: SVTA_PICTURE_IN_PICTURE_ERROR as typeof SVTA_PICTURE_IN_PICTURE_ERROR,\n\n\t/**\n\t * Manifest feature unsupported\n\t */\n\tMANIFEST_FEATURE_UNSUPPORTED: SVTA_MANIFEST_FEATURE_UNSUPPORTED as typeof SVTA_MANIFEST_FEATURE_UNSUPPORTED,\n\n\t/**\n\t * Content steering manifest load error\n\t */\n\tCONTENT_STEERING_MANIFEST_LOAD_ERROR: SVTA_CONTENT_STEERING_MANIFEST_LOAD_ERROR as typeof SVTA_CONTENT_STEERING_MANIFEST_LOAD_ERROR,\n\n\t/**\n\t * Unable to parse content steering manifest\n\t */\n\tCONTENT_STEERING_MANIFEST_PARSE_ERROR: SVTA_CONTENT_STEERING_MANIFEST_PARSE_ERROR as typeof SVTA_CONTENT_STEERING_MANIFEST_PARSE_ERROR,\n} as const\n\n/**\n * Union type of all {@link (SvtaPlaybackErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaPlaybackErrorCode = ValueOf<typeof SvtaPlaybackErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 6 [Remote Play] 000: Unknown remote play error\n *\n * @public\n */\nexport const SVTA_REMOTE_PLAY_UNKNOWN = 6000 as const\n\n/**\n * SVTA 6 [Remote Play] 001: Sender unable to initialize remote play\n *\n * @public\n */\nexport const SVTA_SENDER_INITIALIZATION_ERROR = 6001 as const\n\n/**\n * SVTA 6 [Remote Play] 002: Sender unable to make a connection to the receiver\n *\n * @public\n */\nexport const SVTA_SENDER_CONNECTION_ERROR = 6002 as const\n\n/**\n * SVTA 6 [Remote Play] 003: Receiver does not exist or is unavailable\n *\n * @public\n */\nexport const SVTA_RECEIVER_UNAVAILABLE = 6003 as const\n\n/**\n * SVTA 6 [Remote Play] 004: Receiver refused remote play connection\n *\n * @public\n */\nexport const SVTA_RECEIVER_CONNECTION_REFUSED = 6004 as const\n\n/**\n * SVTA 6 [Remote Play] 005: Connection to the receiver lost\n *\n * @public\n */\nexport const SVTA_RECEIVER_CONNECTION_LOST = 6005 as const\n\n/**\n * SVTA 6 [Remote Play] 006: Connection to the sender lost\n *\n * @public\n */\nexport const SVTA_SENDER_CONNECTION_LOST = 6006 as const\n\n/**\n * SVTA 6 [Remote Play] 007: Receiver is not supported to playback this stream\n *\n * @public\n */\nexport const SVTA_RECEIVER_UNSUPPORTED_STREAM = 6007 as const\n\n/**\n * SVTA 6 [Remote Play] 008: Receiver is already in remote play\n *\n * @public\n */\nexport const SVTA_RECEIVER_ALREADY_IN_REMOTE_PLAY = 6008 as const\n\n/**\n * SVTA 6 [Remote Play] 009: Receiver terminated playback because of an error\n *\n * @public\n */\nexport const SVTA_RECEIVER_PLAYBACK_ERROR = 6009 as const\n\n/**\n * SVTA standardized error codes in the Remote Play category (6xxx): the\n * framework supporting play out of the stream on a second device.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaRemotePlayErrorCode = {\n\t/**\n\t * Unknown remote play error\n\t */\n\tUNKNOWN: SVTA_REMOTE_PLAY_UNKNOWN as typeof SVTA_REMOTE_PLAY_UNKNOWN,\n\n\t/**\n\t * Sender unable to initialize remote play\n\t */\n\tSENDER_INITIALIZATION_ERROR: SVTA_SENDER_INITIALIZATION_ERROR as typeof SVTA_SENDER_INITIALIZATION_ERROR,\n\n\t/**\n\t * Sender unable to make a connection to the receiver\n\t */\n\tSENDER_CONNECTION_ERROR: SVTA_SENDER_CONNECTION_ERROR as typeof SVTA_SENDER_CONNECTION_ERROR,\n\n\t/**\n\t * Receiver does not exist or is unavailable\n\t */\n\tRECEIVER_UNAVAILABLE: SVTA_RECEIVER_UNAVAILABLE as typeof SVTA_RECEIVER_UNAVAILABLE,\n\n\t/**\n\t * Receiver refused remote play connection\n\t */\n\tRECEIVER_CONNECTION_REFUSED: SVTA_RECEIVER_CONNECTION_REFUSED as typeof SVTA_RECEIVER_CONNECTION_REFUSED,\n\n\t/**\n\t * Connection to the receiver lost\n\t */\n\tRECEIVER_CONNECTION_LOST: SVTA_RECEIVER_CONNECTION_LOST as typeof SVTA_RECEIVER_CONNECTION_LOST,\n\n\t/**\n\t * Connection to the sender lost\n\t */\n\tSENDER_CONNECTION_LOST: SVTA_SENDER_CONNECTION_LOST as typeof SVTA_SENDER_CONNECTION_LOST,\n\n\t/**\n\t * Receiver is not supported to playback this stream\n\t */\n\tRECEIVER_UNSUPPORTED_STREAM: SVTA_RECEIVER_UNSUPPORTED_STREAM as typeof SVTA_RECEIVER_UNSUPPORTED_STREAM,\n\n\t/**\n\t * Receiver is already in remote play\n\t */\n\tRECEIVER_ALREADY_IN_REMOTE_PLAY: SVTA_RECEIVER_ALREADY_IN_REMOTE_PLAY as typeof SVTA_RECEIVER_ALREADY_IN_REMOTE_PLAY,\n\n\t/**\n\t * Receiver terminated playback because of an error\n\t */\n\tRECEIVER_PLAYBACK_ERROR: SVTA_RECEIVER_PLAYBACK_ERROR as typeof SVTA_RECEIVER_PLAYBACK_ERROR,\n} as const\n\n/**\n * Union type of all {@link (SvtaRemotePlayErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaRemotePlayErrorCode = ValueOf<typeof SvtaRemotePlayErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 0 [Unknown] 999: Unknown error\n *\n * @public\n */\nexport const SVTA_UNKNOWN = 999 as const\n\n/**\n * SVTA standardized error code in the Unknown category: the error is\n * entirely unclassified. `999` is the only code below 1000, so fully\n * unknown errors can be filtered by returning codes less than 1000.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaUnknownErrorCode = {\n\t/**\n\t * Unknown error\n\t */\n\tUNKNOWN: SVTA_UNKNOWN as typeof SVTA_UNKNOWN,\n} as const\n\n/**\n * Union type of all {@link (SvtaUnknownErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaUnknownErrorCode = ValueOf<typeof SvtaUnknownErrorCode>\n","import { SvtaErrorCategory } from './SvtaErrorCategory.ts'\n\n/**\n * Embed an IAB VAST error code into the SVTA Advertising error category,\n * per the external code embedding rule of SVTA2070. VAST error 301\n * becomes 7301. The four-digit VAST error 1009 (empty VAST response)\n * does not fit a three-digit index, so SVTA2070 maps it to 7999.\n *\n * Values outside the valid VAST error code range (integers 100-999, or\n * 1009) return the unknown advertising error code (7000) rather than\n * throwing, so error reporting paths cannot fail.\n *\n * @param vastError - An IAB VAST error code (100-999, or 1009).\n * @returns The SVTA advertising error code embedding the VAST error.\n *\n * @public\n *\n * @example\n * {@includeCode ../test/vastErrorToSvtaErrorCode.test.ts#example}\n */\nexport function vastErrorToSvtaErrorCode(vastError: number): number {\n\tconst base = SvtaErrorCategory.ADVERTISING * 1000\n\n\t// SVTA2070 maps the four-digit VAST error 1009 (empty VAST response) to index 999.\n\tif (vastError === 1009) {\n\t\treturn base + 999\n\t}\n\n\tif (!Number.isInteger(vastError) || vastError < 100 || vastError > 999) {\n\t\treturn base\n\t}\n\n\treturn base + vastError\n}\n"],"mappings":";;;;;;AAOA,MAAa,8BAA8B;;;;;;AAO3C,MAAa,oCAAoC;;;;;;AAOjD,MAAa,+BAA+B;;;;;;AAO5C,MAAa,8BAA8B;;;;;;AAO3C,MAAa,yCAAyC;;;;;;AAOtD,MAAa,oCAAoC;;;;;;AAOjD,MAAa,kCAAkC;;;;;;AAO/C,MAAa,kCAAkC;;;;;;AAO/C,MAAa,6BAA6B;;;;;;;;;;;;AAa1C,MAAa,oBAAoB;CAIhC,SAAS;CAKT,eAAe;CAKf,UAAU;CAKV,SAAS;CAKT,oBAAoB;CAKpB,eAAe;CAKf,aAAa;CAKb,aAAa;CAKb,QAAQ;CACR;;;;;;;;;;;;;;;;;;ACzGD,SA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A0B;CAK1B,8BAA8B;CAK9B,sCAAsC;CAKtC,uCAAuC;CACvC;;;;;;;;;AChgBD,MAAa,2BAA2B;;;;;;AAOxC,MAAa,mCAAmC;;;;;;AAOhD,MAAa,+BAA+B;;;;;;AAO5C,MAAa,4BAA4B;;;;;;AAOzC,MAAa,mCAAmC;;;;;;AAOhD,MAAa,gCAAgC;;;;;;AAO7C,MAAa,8BAA8B;;;;;;AAO3C,MAAa,mCAAmC;;;;;;AAOhD,MAAa,uCAAuC;;;;;;AAOpD,MAAa,+BAA+B;;;;;;;;;;;AAY5C,MAAa,0BAA0B;CAItC,SAAS;CAKT,6BAA6B;CAK7B,yBAAyB;CAKzB,sBAAsB;CAKtB,6BAA6B;CAK7B,0BAA0B;CAK1B,wBAAwB;CAKxB,6BAA6B;CAK7B,iCAAiC;CAKjC,yBAAyB;CACzB;;;;;;;;;AC7HD,MAAa,eAAe;;;;;;;;;;;;AAa5B,MAAa,uBAAuB,EAInC,SAAS,cACT;;;;;;;;;;;;;;;;;;;;;;ACLD,SAAgB,yBAAyB,WAA2B;CACnE,MAAM,OAAO,kBAAkB,cAAc;AAG7C,KAAI,cAAc,KACjB,QAAO,OAAO;AAGf,KAAI,CAAC,OAAO,UAAU,UAAU,IAAI,YAAY,OAAO,YAAY,IAClE,QAAO;AAGR,QAAO,OAAO"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/SvtaErrorCategory.ts","../src/getSvtaErrorCategory.ts","../src/getSvtaErrorIndex.ts","../src/httpStatusToSvtaErrorCode.ts","../src/SvtaAccessibilityErrorCode.ts","../src/SvtaAdvertisingErrorCode.ts","../src/SvtaContentProtectionErrorCode.ts","../src/SvtaCustomErrorCode.ts","../src/SvtaMediaContentErrorCode.ts","../src/SvtaNetworkErrorCode.ts","../src/SvtaPlaybackErrorCode.ts","../src/SvtaRemotePlayErrorCode.ts","../src/SvtaUnknownErrorCode.ts","../src/vastErrorToSvtaErrorCode.ts"],"sourcesContent":["import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA error category 0: Unknown error\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_UNKNOWN = 0 as const\n\n/**\n * SVTA error category 1: Issues with the content itself, such as an unsupported format\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_MEDIA_CONTENT = 1 as const\n\n/**\n * SVTA error category 2: Player unable to sustain the experience\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_PLAYBACK = 2 as const\n\n/**\n * SVTA error category 3: Issues on the network, including unavailable resources\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_NETWORK = 3 as const\n\n/**\n * SVTA error category 4: Security related error, including authentication or entitlement issues\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_CONTENT_PROTECTION = 4 as const\n\n/**\n * SVTA error category 5: Defective captions or audio description\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_ACCESSIBILITY = 5 as const\n\n/**\n * SVTA error category 6: Framework supporting the play out of the stream on a second device\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_REMOTE_PLAY = 6 as const\n\n/**\n * SVTA error category 7: Issues triggered by ad insertion\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_ADVERTISING = 7 as const\n\n/**\n * SVTA error category 99: Reserved category for Publisher-defined errors\n *\n * @public\n */\nexport const SVTA_ERROR_CATEGORY_CUSTOM = 99 as const\n\n/**\n * SVTA standardized error code categories. The category of an error code\n * occupies its thousands digits: `Math.floor(code / 1000)` yields the\n * category of any SVTA error code.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaErrorCategory = {\n\t/**\n\t * Unknown error\n\t */\n\tUNKNOWN: SVTA_ERROR_CATEGORY_UNKNOWN as typeof SVTA_ERROR_CATEGORY_UNKNOWN,\n\n\t/**\n\t * Issues with the content itself, such as an unsupported format\n\t */\n\tMEDIA_CONTENT: SVTA_ERROR_CATEGORY_MEDIA_CONTENT as typeof SVTA_ERROR_CATEGORY_MEDIA_CONTENT,\n\n\t/**\n\t * Player unable to sustain the experience\n\t */\n\tPLAYBACK: SVTA_ERROR_CATEGORY_PLAYBACK as typeof SVTA_ERROR_CATEGORY_PLAYBACK,\n\n\t/**\n\t * Issues on the network, including unavailable resources\n\t */\n\tNETWORK: SVTA_ERROR_CATEGORY_NETWORK as typeof SVTA_ERROR_CATEGORY_NETWORK,\n\n\t/**\n\t * Security related error, including authentication or entitlement issues\n\t */\n\tCONTENT_PROTECTION: SVTA_ERROR_CATEGORY_CONTENT_PROTECTION as typeof SVTA_ERROR_CATEGORY_CONTENT_PROTECTION,\n\n\t/**\n\t * Defective captions or audio description\n\t */\n\tACCESSIBILITY: SVTA_ERROR_CATEGORY_ACCESSIBILITY as typeof SVTA_ERROR_CATEGORY_ACCESSIBILITY,\n\n\t/**\n\t * Framework supporting the play out of the stream on a second device\n\t */\n\tREMOTE_PLAY: SVTA_ERROR_CATEGORY_REMOTE_PLAY as typeof SVTA_ERROR_CATEGORY_REMOTE_PLAY,\n\n\t/**\n\t * Issues triggered by ad insertion\n\t */\n\tADVERTISING: SVTA_ERROR_CATEGORY_ADVERTISING as typeof SVTA_ERROR_CATEGORY_ADVERTISING,\n\n\t/**\n\t * Reserved category for Publisher-defined errors\n\t */\n\tCUSTOM: SVTA_ERROR_CATEGORY_CUSTOM as typeof SVTA_ERROR_CATEGORY_CUSTOM,\n} as const\n\n/**\n * Union type of all {@link (SvtaErrorCategory:variable)} values.\n *\n * @public\n */\nexport type SvtaErrorCategory = ValueOf<typeof SvtaErrorCategory>\n","import { SvtaErrorCategory } from './SvtaErrorCategory.ts'\n\n/**\n * Get the `SvtaErrorCategory` of an SVTA error code, per the spec's\n * `code / 1000` rule.\n *\n * @param code - An SVTA error code.\n * @returns The error category. Returns `undefined` if the code is not a\n * non-negative integer, or if the spec does not assign its category.\n * Categories 8-98 and above 99 are reserved for future use.\n *\n * @public\n *\n * @example\n * {@includeCode ../test/getSvtaErrorCategory.test.ts#example}\n */\nexport function getSvtaErrorCategory(code: number): SvtaErrorCategory | undefined {\n\tif (!Number.isInteger(code)) {\n\t\treturn undefined\n\t}\n\n\tconst category = Math.floor(code / 1000)\n\n\tif ((category >= SvtaErrorCategory.UNKNOWN && category <= SvtaErrorCategory.ADVERTISING) || category === SvtaErrorCategory.CUSTOM) {\n\t\treturn category as SvtaErrorCategory\n\t}\n\n\treturn undefined\n}\n","/**\n * Get the error index of an SVTA error code, per the spec's\n * `code mod 1000` rule. The index identifies the specific error within\n * its category: native indices are 0-99, embedded external codes (HTTP,\n * VAST) are 100-999.\n *\n * @param code - An SVTA error code.\n * @returns The error index within the code's category, or `undefined`\n * if the code is not a non-negative integer.\n *\n * @public\n *\n * @example\n * {@includeCode ../test/getSvtaErrorIndex.test.ts#example}\n */\nexport function getSvtaErrorIndex(code: number): number | undefined {\n\tif (!Number.isInteger(code) || code < 0) {\n\t\treturn undefined\n\t}\n\n\treturn code % 1000\n}\n","import { SvtaErrorCategory } from './SvtaErrorCategory.ts'\n\n/**\n * Embed an HTTP response status code into the SVTA Network error\n * category, per the external code embedding rule of SVTA2070. HTTP 404\n * becomes 3404.\n *\n * Values outside the valid HTTP status range (integers 100-599) return\n * the unknown network error code (3000) rather than throwing, so error\n * reporting paths cannot fail.\n *\n * @param status - An HTTP response status code (100-599).\n * @returns The SVTA network error code embedding the status.\n *\n * @public\n *\n * @example\n * {@includeCode ../test/httpStatusToSvtaErrorCode.test.ts#example}\n */\nexport function httpStatusToSvtaErrorCode(status: number): number {\n\tconst base = SvtaErrorCategory.NETWORK * 1000\n\n\tif (!Number.isInteger(status) || status < 100 || status > 599) {\n\t\treturn base\n\t}\n\n\treturn base + status\n}\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 5 [Accessibility] 000: Unknown accessibility error\n *\n * @public\n */\nexport const SVTA_ACCESSIBILITY_UNKNOWN = 5000 as const\n\n/**\n * SVTA 5 [Accessibility] 001: Unable to parse timed text\n *\n * @public\n */\nexport const SVTA_TIMED_TEXT_PARSE_ERROR = 5001 as const\n\n/**\n * SVTA 5 [Accessibility] 002: Unable to render timed text\n *\n * @public\n */\nexport const SVTA_TIMED_TEXT_RENDER_ERROR = 5002 as const\n\n/**\n * SVTA 5 [Accessibility] 003: Timed text exceeds content duration\n *\n * @public\n */\nexport const SVTA_TIMED_TEXT_EXCEEDS_CONTENT_DURATION = 5003 as const\n\n/**\n * SVTA 5 [Accessibility] 004: Audio description exceeds content duration\n *\n * @public\n */\nexport const SVTA_AUDIO_DESCRIPTION_EXCEEDS_CONTENT_DURATION = 5004 as const\n\n/**\n * SVTA standardized error codes in the Accessibility category (5xxx):\n * defective captions or audio description.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaAccessibilityErrorCode = {\n\t/**\n\t * Unknown accessibility error\n\t */\n\tUNKNOWN: SVTA_ACCESSIBILITY_UNKNOWN as typeof SVTA_ACCESSIBILITY_UNKNOWN,\n\n\t/**\n\t * Unable to parse timed text\n\t */\n\tTIMED_TEXT_PARSE_ERROR: SVTA_TIMED_TEXT_PARSE_ERROR as typeof SVTA_TIMED_TEXT_PARSE_ERROR,\n\n\t/**\n\t * Unable to render timed text\n\t */\n\tTIMED_TEXT_RENDER_ERROR: SVTA_TIMED_TEXT_RENDER_ERROR as typeof SVTA_TIMED_TEXT_RENDER_ERROR,\n\n\t/**\n\t * Timed text exceeds content duration\n\t */\n\tTIMED_TEXT_EXCEEDS_CONTENT_DURATION: SVTA_TIMED_TEXT_EXCEEDS_CONTENT_DURATION as typeof SVTA_TIMED_TEXT_EXCEEDS_CONTENT_DURATION,\n\n\t/**\n\t * Audio description exceeds content duration\n\t */\n\tAUDIO_DESCRIPTION_EXCEEDS_CONTENT_DURATION: SVTA_AUDIO_DESCRIPTION_EXCEEDS_CONTENT_DURATION as typeof SVTA_AUDIO_DESCRIPTION_EXCEEDS_CONTENT_DURATION,\n} as const\n\n/**\n * Union type of all {@link (SvtaAccessibilityErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaAccessibilityErrorCode = ValueOf<typeof SvtaAccessibilityErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 7 [Advertising] 000: Unknown advertising error\n *\n * @public\n */\nexport const SVTA_ADVERTISING_UNKNOWN = 7000 as const\n\n/**\n * SVTA 7 [Advertising] 001: Ad blocker detected\n *\n * @public\n */\nexport const SVTA_AD_BLOCKER_DETECTED = 7001 as const\n\n/**\n * SVTA 7 [Advertising] 100: Unable to parse VAST XML\n *\n * @public\n */\nexport const SVTA_VAST_PARSE_ERROR = 7100 as const\n\n/**\n * SVTA 7 [Advertising] 101: Invalid VAST schema\n *\n * @public\n */\nexport const SVTA_VAST_SCHEMA_VALIDATION_ERROR = 7101 as const\n\n/**\n * SVTA 7 [Advertising] 102: VAST response version not supported\n *\n * @public\n */\nexport const SVTA_VAST_VERSION_UNSUPPORTED = 7102 as const\n\n/**\n * SVTA 7 [Advertising] 200: Video player expected different ad type\n *\n * @public\n */\nexport const SVTA_AD_TYPE_MISMATCH = 7200 as const\n\n/**\n * SVTA 7 [Advertising] 201: Creative has different linearity than player expected (non-fatal)\n *\n * @public\n */\nexport const SVTA_LINEARITY_MISMATCH = 7201 as const\n\n/**\n * SVTA 7 [Advertising] 202: Creative has different duration than player expected (non-fatal)\n *\n * @public\n */\nexport const SVTA_DURATION_MISMATCH = 7202 as const\n\n/**\n * SVTA 7 [Advertising] 203: Creative has different size than player expected (non-fatal)\n *\n * @public\n */\nexport const SVTA_SIZE_MISMATCH = 7203 as const\n\n/**\n * SVTA 7 [Advertising] 300: Wrapper failed to deliver VAST response for unknown reason\n *\n * @public\n */\nexport const SVTA_WRAPPER_ERROR = 7300 as const\n\n/**\n * SVTA 7 [Advertising] 301: VAST response redirect timed out\n *\n * @public\n */\nexport const SVTA_WRAPPER_TIMEOUT = 7301 as const\n\n/**\n * SVTA 7 [Advertising] 302: Wrapper limit reached (e.g. too many redirects)\n *\n * @public\n */\nexport const SVTA_WRAPPER_LIMIT_REACHED = 7302 as const\n\n/**\n * SVTA 7 [Advertising] 303: VAST response was empty\n *\n * @public\n */\nexport const SVTA_EMPTY_WRAPPER_RESPONSE = 7303 as const\n\n/**\n * SVTA 7 [Advertising] 400: Unable to display linear ad\n *\n * @public\n */\nexport const SVTA_LINEAR_AD_ERROR = 7400 as const\n\n/**\n * SVTA 7 [Advertising] 401: Media file not found\n *\n * @public\n */\nexport const SVTA_MEDIA_FILE_NOT_FOUND = 7401 as const\n\n/**\n * SVTA 7 [Advertising] 402: Media file unavailable\n *\n * @public\n */\nexport const SVTA_MEDIA_FILE_UNAVAILABLE = 7402 as const\n\n/**\n * SVTA 7 [Advertising] 403: VAST response contained no supported MIME types\n *\n * @public\n */\nexport const SVTA_NO_SUPPORTED_MEDIA_TYPE = 7403 as const\n\n/**\n * SVTA 7 [Advertising] 405: Unable to display media file\n *\n * @public\n */\nexport const SVTA_MEDIA_FILE_DISPLAY_ERROR = 7405 as const\n\n/**\n * SVTA 7 [Advertising] 406: Required mezzanine file missing\n *\n * @public\n */\nexport const SVTA_MEZZANINE_MISSING = 7406 as const\n\n/**\n * SVTA 7 [Advertising] 407: Mezzanine file was downloaded for the first time\n *\n * @public\n */\nexport const SVTA_MEZZANINE_DOWNLOADING = 7407 as const\n\n/**\n * SVTA 7 [Advertising] 408: VAST response contained rejected ad\n *\n * @public\n */\nexport const SVTA_REJECTED_AD = 7408 as const\n\n/**\n * SVTA 7 [Advertising] 409: Could not execute creative defined in interactiveCreativeFile\n *\n * @public\n */\nexport const SVTA_INTERACTIVE_CREATIVE_ERROR = 7409 as const\n\n/**\n * SVTA 7 [Advertising] 410: Could not execute code in verification node\n *\n * @public\n */\nexport const SVTA_VERIFICATION_ERROR = 7410 as const\n\n/**\n * SVTA 7 [Advertising] 500: Video player unable to display non-linear ad for unknown reason\n *\n * @public\n */\nexport const SVTA_NONLINEAR_AD_ERROR = 7500 as const\n\n/**\n * SVTA 7 [Advertising] 501: Non-linear ad dimensions did not match display area\n *\n * @public\n */\nexport const SVTA_NONLINEAR_DIMENSION_MISMATCH = 7501 as const\n\n/**\n * SVTA 7 [Advertising] 502: Unable to fetch non-linear ad resource\n *\n * @public\n */\nexport const SVTA_NONLINEAR_AD_FETCH_ERROR = 7502 as const\n\n/**\n * SVTA 7 [Advertising] 503: Non-linear ad did not contain a supported type\n *\n * @public\n */\nexport const SVTA_UNSUPPORTED_NONLINEAR_AD = 7503 as const\n\n/**\n * SVTA 7 [Advertising] 600: Could not display companion ad (non-fatal)\n *\n * @public\n */\nexport const SVTA_COMPANION_AD_ERROR = 7600 as const\n\n/**\n * SVTA 7 [Advertising] 601: Companion ad dimensions did not match display area\n *\n * @public\n */\nexport const SVTA_COMPANION_DIMENSION_MISMATCH = 7601 as const\n\n/**\n * SVTA 7 [Advertising] 602: Unable to display required companion ad\n *\n * @public\n */\nexport const SVTA_REQUIRED_COMPANION_AD_ERROR = 7602 as const\n\n/**\n * SVTA 7 [Advertising] 603: Unable to fetch companion ad resource\n *\n * @public\n */\nexport const SVTA_COMPANION_AD_FETCH_ERROR = 7603 as const\n\n/**\n * SVTA 7 [Advertising] 900: Undefined VAST error\n *\n * @public\n */\nexport const SVTA_UNDEFINED_VAST_ERROR = 7900 as const\n\n/**\n * SVTA 7 [Advertising] 901: Unknown VPAID error\n *\n * @public\n */\nexport const SVTA_VPAID_ERROR = 7901 as const\n\n/**\n * SVTA 7 [Advertising] 999: VAST response document was empty\n *\n * SVTA2070 maps the four-digit IAB VAST error 1009 to this code.\n *\n * @public\n */\nexport const SVTA_EMPTY_VAST_RESPONSE = 7999 as const\n\n/**\n * SVTA standardized error codes in the Advertising category (7xxx):\n * issues triggered by ad insertion.\n *\n * IAB VAST error codes embed into this category at indices 100 through\n * 999. `7301` is VAST error 301. See `vastErrorToSvtaErrorCode`.\n * VAST defines no error 404, so there is no `7404`. The four-digit VAST\n * error 1009 (empty VAST response) maps to `7999`.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n * @see {@link https://www.iab.com/wp-content/uploads/2016/01/VAST_4-0_2016-01-21.pdf | IAB VAST 4.0 §2.3.6.3 Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaAdvertisingErrorCode = {\n\t/**\n\t * Unknown advertising error\n\t */\n\tUNKNOWN: SVTA_ADVERTISING_UNKNOWN as typeof SVTA_ADVERTISING_UNKNOWN,\n\n\t/**\n\t * Ad blocker detected\n\t */\n\tAD_BLOCKER_DETECTED: SVTA_AD_BLOCKER_DETECTED as typeof SVTA_AD_BLOCKER_DETECTED,\n\n\t/**\n\t * Unable to parse VAST XML\n\t */\n\tVAST_PARSE_ERROR: SVTA_VAST_PARSE_ERROR as typeof SVTA_VAST_PARSE_ERROR,\n\n\t/**\n\t * Invalid VAST schema\n\t */\n\tVAST_SCHEMA_VALIDATION_ERROR: SVTA_VAST_SCHEMA_VALIDATION_ERROR as typeof SVTA_VAST_SCHEMA_VALIDATION_ERROR,\n\n\t/**\n\t * VAST response version not supported\n\t */\n\tVAST_VERSION_UNSUPPORTED: SVTA_VAST_VERSION_UNSUPPORTED as typeof SVTA_VAST_VERSION_UNSUPPORTED,\n\n\t/**\n\t * Video player expected different ad type\n\t */\n\tAD_TYPE_MISMATCH: SVTA_AD_TYPE_MISMATCH as typeof SVTA_AD_TYPE_MISMATCH,\n\n\t/**\n\t * Creative has different linearity than player expected (non-fatal)\n\t */\n\tLINEARITY_MISMATCH: SVTA_LINEARITY_MISMATCH as typeof SVTA_LINEARITY_MISMATCH,\n\n\t/**\n\t * Creative has different duration than player expected (non-fatal)\n\t */\n\tDURATION_MISMATCH: SVTA_DURATION_MISMATCH as typeof SVTA_DURATION_MISMATCH,\n\n\t/**\n\t * Creative has different size than player expected (non-fatal)\n\t */\n\tSIZE_MISMATCH: SVTA_SIZE_MISMATCH as typeof SVTA_SIZE_MISMATCH,\n\n\t/**\n\t * Wrapper failed to deliver VAST response for unknown reason\n\t */\n\tWRAPPER_ERROR: SVTA_WRAPPER_ERROR as typeof SVTA_WRAPPER_ERROR,\n\n\t/**\n\t * VAST response redirect timed out\n\t */\n\tWRAPPER_TIMEOUT: SVTA_WRAPPER_TIMEOUT as typeof SVTA_WRAPPER_TIMEOUT,\n\n\t/**\n\t * Wrapper limit reached (e.g. too many redirects)\n\t */\n\tWRAPPER_LIMIT_REACHED: SVTA_WRAPPER_LIMIT_REACHED as typeof SVTA_WRAPPER_LIMIT_REACHED,\n\n\t/**\n\t * VAST response was empty\n\t */\n\tEMPTY_WRAPPER_RESPONSE: SVTA_EMPTY_WRAPPER_RESPONSE as typeof SVTA_EMPTY_WRAPPER_RESPONSE,\n\n\t/**\n\t * Unable to display linear ad\n\t */\n\tLINEAR_AD_ERROR: SVTA_LINEAR_AD_ERROR as typeof SVTA_LINEAR_AD_ERROR,\n\n\t/**\n\t * Media file not found\n\t */\n\tMEDIA_FILE_NOT_FOUND: SVTA_MEDIA_FILE_NOT_FOUND as typeof SVTA_MEDIA_FILE_NOT_FOUND,\n\n\t/**\n\t * Media file unavailable\n\t */\n\tMEDIA_FILE_UNAVAILABLE: SVTA_MEDIA_FILE_UNAVAILABLE as typeof SVTA_MEDIA_FILE_UNAVAILABLE,\n\n\t/**\n\t * VAST response contained no supported MIME types\n\t */\n\tNO_SUPPORTED_MEDIA_TYPE: SVTA_NO_SUPPORTED_MEDIA_TYPE as typeof SVTA_NO_SUPPORTED_MEDIA_TYPE,\n\n\t/**\n\t * Unable to display media file\n\t */\n\tMEDIA_FILE_DISPLAY_ERROR: SVTA_MEDIA_FILE_DISPLAY_ERROR as typeof SVTA_MEDIA_FILE_DISPLAY_ERROR,\n\n\t/**\n\t * Required mezzanine file missing\n\t */\n\tMEZZANINE_MISSING: SVTA_MEZZANINE_MISSING as typeof SVTA_MEZZANINE_MISSING,\n\n\t/**\n\t * Mezzanine file was downloaded for the first time\n\t */\n\tMEZZANINE_DOWNLOADING: SVTA_MEZZANINE_DOWNLOADING as typeof SVTA_MEZZANINE_DOWNLOADING,\n\n\t/**\n\t * VAST response contained rejected ad\n\t */\n\tREJECTED_AD: SVTA_REJECTED_AD as typeof SVTA_REJECTED_AD,\n\n\t/**\n\t * Could not execute creative defined in interactiveCreativeFile\n\t */\n\tINTERACTIVE_CREATIVE_ERROR: SVTA_INTERACTIVE_CREATIVE_ERROR as typeof SVTA_INTERACTIVE_CREATIVE_ERROR,\n\n\t/**\n\t * Could not execute code in verification node\n\t */\n\tVERIFICATION_ERROR: SVTA_VERIFICATION_ERROR as typeof SVTA_VERIFICATION_ERROR,\n\n\t/**\n\t * Video player unable to display non-linear ad for unknown reason\n\t */\n\tNONLINEAR_AD_ERROR: SVTA_NONLINEAR_AD_ERROR as typeof SVTA_NONLINEAR_AD_ERROR,\n\n\t/**\n\t * Non-linear ad dimensions did not match display area\n\t */\n\tNONLINEAR_DIMENSION_MISMATCH: SVTA_NONLINEAR_DIMENSION_MISMATCH as typeof SVTA_NONLINEAR_DIMENSION_MISMATCH,\n\n\t/**\n\t * Unable to fetch non-linear ad resource\n\t */\n\tNONLINEAR_AD_FETCH_ERROR: SVTA_NONLINEAR_AD_FETCH_ERROR as typeof SVTA_NONLINEAR_AD_FETCH_ERROR,\n\n\t/**\n\t * Non-linear ad did not contain a supported type\n\t */\n\tUNSUPPORTED_NONLINEAR_AD: SVTA_UNSUPPORTED_NONLINEAR_AD as typeof SVTA_UNSUPPORTED_NONLINEAR_AD,\n\n\t/**\n\t * Could not display companion ad (non-fatal)\n\t */\n\tCOMPANION_AD_ERROR: SVTA_COMPANION_AD_ERROR as typeof SVTA_COMPANION_AD_ERROR,\n\n\t/**\n\t * Companion ad dimensions did not match display area\n\t */\n\tCOMPANION_DIMENSION_MISMATCH: SVTA_COMPANION_DIMENSION_MISMATCH as typeof SVTA_COMPANION_DIMENSION_MISMATCH,\n\n\t/**\n\t * Unable to display required companion ad\n\t */\n\tREQUIRED_COMPANION_AD_ERROR: SVTA_REQUIRED_COMPANION_AD_ERROR as typeof SVTA_REQUIRED_COMPANION_AD_ERROR,\n\n\t/**\n\t * Unable to fetch companion ad resource\n\t */\n\tCOMPANION_AD_FETCH_ERROR: SVTA_COMPANION_AD_FETCH_ERROR as typeof SVTA_COMPANION_AD_FETCH_ERROR,\n\n\t/**\n\t * Undefined VAST error\n\t */\n\tUNDEFINED_VAST_ERROR: SVTA_UNDEFINED_VAST_ERROR as typeof SVTA_UNDEFINED_VAST_ERROR,\n\n\t/**\n\t * Unknown VPAID error\n\t */\n\tVPAID_ERROR: SVTA_VPAID_ERROR as typeof SVTA_VPAID_ERROR,\n\n\t/**\n\t * VAST response document was empty\n\t *\n\t * SVTA2070 maps the four-digit IAB VAST error 1009 to this code.\n\t */\n\tEMPTY_VAST_RESPONSE: SVTA_EMPTY_VAST_RESPONSE as typeof SVTA_EMPTY_VAST_RESPONSE,\n} as const\n\n/**\n * Union type of all {@link (SvtaAdvertisingErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaAdvertisingErrorCode = ValueOf<typeof SvtaAdvertisingErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 4 [Content Protection] 000: Unknown content protection error\n *\n * @public\n */\nexport const SVTA_CONTENT_PROTECTION_UNKNOWN = 4000 as const\n\n/**\n * SVTA 4 [Content Protection] 001: Concurrent stream limit exceeded\n *\n * @public\n */\nexport const SVTA_CONCURRENT_STREAM_LIMIT_EXCEEDED = 4001 as const\n\n/**\n * SVTA 4 [Content Protection] 002: Entitlement refused\n *\n * @public\n */\nexport const SVTA_ENTITLEMENT_REFUSED = 4002 as const\n\n/**\n * SVTA 4 [Content Protection] 003: License expired\n *\n * @public\n */\nexport const SVTA_LICENSE_EXPIRED = 4003 as const\n\n/**\n * SVTA 4 [Content Protection] 004: Bad license request\n *\n * @public\n */\nexport const SVTA_BAD_LICENSE_REQUEST = 4004 as const\n\n/**\n * SVTA 4 [Content Protection] 005: License server timeout\n *\n * @public\n */\nexport const SVTA_LICENSE_SERVER_TIMEOUT = 4005 as const\n\n/**\n * SVTA 4 [Content Protection] 006: Insufficient DRM robustness level\n *\n * @public\n */\nexport const SVTA_INSUFFICIENT_DRM_ROBUSTNESS = 4006 as const\n\n/**\n * SVTA 4 [Content Protection] 007: Insufficient output protection\n *\n * @public\n */\nexport const SVTA_INSUFFICIENT_OUTPUT_PROTECTION = 4007 as const\n\n/**\n * SVTA 4 [Content Protection] 008: Unsupported or unavailable DRM system\n *\n * @public\n */\nexport const SVTA_UNSUPPORTED_DRM_SYSTEM = 4008 as const\n\n/**\n * SVTA 4 [Content Protection] 009: Access restricted due to unsupported geo\n *\n * @public\n */\nexport const SVTA_GEO_RESTRICTED = 4009 as const\n\n/**\n * SVTA 4 [Content Protection] 010: DRM initialization error\n *\n * @public\n */\nexport const SVTA_DRM_INITIALIZATION_ERROR = 4010 as const\n\n/**\n * SVTA 4 [Content Protection] 011: CDN unauthorized\n *\n * @public\n */\nexport const SVTA_CDN_UNAUTHORIZED = 4011 as const\n\n/**\n * SVTA 4 [Content Protection] 012: Invalid access token\n *\n * @public\n */\nexport const SVTA_INVALID_ACCESS_TOKEN = 4012 as const\n\n/**\n * SVTA 4 [Content Protection] 013: DRM certificate error\n *\n * @public\n */\nexport const SVTA_DRM_CERTIFICATE_ERROR = 4013 as const\n\n/**\n * SVTA 4 [Content Protection] 014: DRM session error\n *\n * @public\n */\nexport const SVTA_DRM_SESSION_ERROR = 4014 as const\n\n/**\n * SVTA 4 [Content Protection] 015: DRM initialization data or configuration missing\n *\n * @public\n */\nexport const SVTA_DRM_CONFIGURATION_MISSING = 4015 as const\n\n/**\n * SVTA 4 [Content Protection] 016: DRM license response rejected\n *\n * @public\n */\nexport const SVTA_LICENSE_RESPONSE_REJECTED = 4016 as const\n\n/**\n * SVTA 4 [Content Protection] 017: Persistent session DRM error\n *\n * @public\n */\nexport const SVTA_PERSISTENT_SESSION_ERROR = 4017 as const\n\n/**\n * SVTA 4 [Content Protection] 018: Required permission rejected\n *\n * @public\n */\nexport const SVTA_PERMISSION_REJECTED = 4018 as const\n\n/**\n * SVTA 4 [Content Protection] 019: Failed to load decryption key\n *\n * @public\n */\nexport const SVTA_KEY_LOAD_ERROR = 4019 as const\n\n/**\n * SVTA 4 [Content Protection] 020: Failed to decrypt segment\n *\n * @public\n */\nexport const SVTA_SEGMENT_DECRYPTION_ERROR = 4020 as const\n\n/**\n * SVTA 4 [Content Protection] 021: Failed to generate DRM license request\n *\n * @public\n */\nexport const SVTA_LICENSE_REQUEST_GENERATION_ERROR = 4021 as const\n\n/**\n * SVTA standardized error codes in the Content Protection category\n * (4xxx): security related errors, including authentication and\n * entitlement issues.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaContentProtectionErrorCode = {\n\t/**\n\t * Unknown content protection error\n\t */\n\tUNKNOWN: SVTA_CONTENT_PROTECTION_UNKNOWN as typeof SVTA_CONTENT_PROTECTION_UNKNOWN,\n\n\t/**\n\t * Concurrent stream limit exceeded\n\t */\n\tCONCURRENT_STREAM_LIMIT_EXCEEDED: SVTA_CONCURRENT_STREAM_LIMIT_EXCEEDED as typeof SVTA_CONCURRENT_STREAM_LIMIT_EXCEEDED,\n\n\t/**\n\t * Entitlement refused\n\t */\n\tENTITLEMENT_REFUSED: SVTA_ENTITLEMENT_REFUSED as typeof SVTA_ENTITLEMENT_REFUSED,\n\n\t/**\n\t * License expired\n\t */\n\tLICENSE_EXPIRED: SVTA_LICENSE_EXPIRED as typeof SVTA_LICENSE_EXPIRED,\n\n\t/**\n\t * Bad license request\n\t */\n\tBAD_LICENSE_REQUEST: SVTA_BAD_LICENSE_REQUEST as typeof SVTA_BAD_LICENSE_REQUEST,\n\n\t/**\n\t * License server timeout\n\t */\n\tLICENSE_SERVER_TIMEOUT: SVTA_LICENSE_SERVER_TIMEOUT as typeof SVTA_LICENSE_SERVER_TIMEOUT,\n\n\t/**\n\t * Insufficient DRM robustness level\n\t */\n\tINSUFFICIENT_DRM_ROBUSTNESS: SVTA_INSUFFICIENT_DRM_ROBUSTNESS as typeof SVTA_INSUFFICIENT_DRM_ROBUSTNESS,\n\n\t/**\n\t * Insufficient output protection\n\t */\n\tINSUFFICIENT_OUTPUT_PROTECTION: SVTA_INSUFFICIENT_OUTPUT_PROTECTION as typeof SVTA_INSUFFICIENT_OUTPUT_PROTECTION,\n\n\t/**\n\t * Unsupported or unavailable DRM system\n\t */\n\tUNSUPPORTED_DRM_SYSTEM: SVTA_UNSUPPORTED_DRM_SYSTEM as typeof SVTA_UNSUPPORTED_DRM_SYSTEM,\n\n\t/**\n\t * Access restricted due to unsupported geo\n\t */\n\tGEO_RESTRICTED: SVTA_GEO_RESTRICTED as typeof SVTA_GEO_RESTRICTED,\n\n\t/**\n\t * DRM initialization error\n\t */\n\tDRM_INITIALIZATION_ERROR: SVTA_DRM_INITIALIZATION_ERROR as typeof SVTA_DRM_INITIALIZATION_ERROR,\n\n\t/**\n\t * CDN unauthorized\n\t */\n\tCDN_UNAUTHORIZED: SVTA_CDN_UNAUTHORIZED as typeof SVTA_CDN_UNAUTHORIZED,\n\n\t/**\n\t * Invalid access token\n\t */\n\tINVALID_ACCESS_TOKEN: SVTA_INVALID_ACCESS_TOKEN as typeof SVTA_INVALID_ACCESS_TOKEN,\n\n\t/**\n\t * DRM certificate error\n\t */\n\tDRM_CERTIFICATE_ERROR: SVTA_DRM_CERTIFICATE_ERROR as typeof SVTA_DRM_CERTIFICATE_ERROR,\n\n\t/**\n\t * DRM session error\n\t */\n\tDRM_SESSION_ERROR: SVTA_DRM_SESSION_ERROR as typeof SVTA_DRM_SESSION_ERROR,\n\n\t/**\n\t * DRM initialization data or configuration missing\n\t */\n\tDRM_CONFIGURATION_MISSING: SVTA_DRM_CONFIGURATION_MISSING as typeof SVTA_DRM_CONFIGURATION_MISSING,\n\n\t/**\n\t * DRM license response rejected\n\t */\n\tLICENSE_RESPONSE_REJECTED: SVTA_LICENSE_RESPONSE_REJECTED as typeof SVTA_LICENSE_RESPONSE_REJECTED,\n\n\t/**\n\t * Persistent session DRM error\n\t */\n\tPERSISTENT_SESSION_ERROR: SVTA_PERSISTENT_SESSION_ERROR as typeof SVTA_PERSISTENT_SESSION_ERROR,\n\n\t/**\n\t * Required permission rejected\n\t */\n\tPERMISSION_REJECTED: SVTA_PERMISSION_REJECTED as typeof SVTA_PERMISSION_REJECTED,\n\n\t/**\n\t * Failed to load decryption key\n\t */\n\tKEY_LOAD_ERROR: SVTA_KEY_LOAD_ERROR as typeof SVTA_KEY_LOAD_ERROR,\n\n\t/**\n\t * Failed to decrypt segment\n\t */\n\tSEGMENT_DECRYPTION_ERROR: SVTA_SEGMENT_DECRYPTION_ERROR as typeof SVTA_SEGMENT_DECRYPTION_ERROR,\n\n\t/**\n\t * Failed to generate DRM license request\n\t */\n\tLICENSE_REQUEST_GENERATION_ERROR: SVTA_LICENSE_REQUEST_GENERATION_ERROR as typeof SVTA_LICENSE_REQUEST_GENERATION_ERROR,\n} as const\n\n/**\n * Union type of all {@link (SvtaContentProtectionErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaContentProtectionErrorCode = ValueOf<typeof SvtaContentProtectionErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 99 [Custom] 000: Unknown custom error\n *\n * @public\n */\nexport const SVTA_CUSTOM_UNKNOWN = 99000 as const\n\n/**\n * SVTA standardized error code in the Custom category (99xxx): the\n * category reserved for Publisher-defined errors. Codes 99001 through\n * 99999 are available for bespoke Publisher use.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaCustomErrorCode = {\n\t/**\n\t * Unknown custom error\n\t */\n\tUNKNOWN: SVTA_CUSTOM_UNKNOWN as typeof SVTA_CUSTOM_UNKNOWN,\n} as const\n\n/**\n * Union type of all {@link (SvtaCustomErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaCustomErrorCode = ValueOf<typeof SvtaCustomErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 1 [Media Content] 000: Unknown media content error\n *\n * @public\n */\nexport const SVTA_MEDIA_CONTENT_UNKNOWN = 1000 as const\n\n/**\n * SVTA 1 [Media Content] 001: Media unavailable\n *\n * @public\n */\nexport const SVTA_MEDIA_UNAVAILABLE = 1001 as const\n\n/**\n * SVTA 1 [Media Content] 002: Invalid manifest\n *\n * @public\n */\nexport const SVTA_INVALID_MANIFEST = 1002 as const\n\n/**\n * SVTA 1 [Media Content] 003: Track not available\n *\n * @public\n */\nexport const SVTA_TRACK_NOT_AVAILABLE = 1003 as const\n\n/**\n * SVTA 1 [Media Content] 004: Unsupported video format\n *\n * @public\n */\nexport const SVTA_UNSUPPORTED_VIDEO_FORMAT = 1004 as const\n\n/**\n * SVTA 1 [Media Content] 005: Unsupported audio format\n *\n * @public\n */\nexport const SVTA_UNSUPPORTED_AUDIO_FORMAT = 1005 as const\n\n/**\n * SVTA 1 [Media Content] 006: Unsupported text format\n *\n * @public\n */\nexport const SVTA_UNSUPPORTED_TEXT_FORMAT = 1006 as const\n\n/**\n * SVTA 1 [Media Content] 007: Invalid composition track segment time\n *\n * @public\n */\nexport const SVTA_INVALID_COMPOSITION_TRACK_SEGMENT_TIME = 1007 as const\n\n/**\n * SVTA 1 [Media Content] 008: Segment exceeds specified bitrate for track\n *\n * @public\n */\nexport const SVTA_SEGMENT_EXCEEDS_TRACK_BITRATE = 1008 as const\n\n/**\n * SVTA 1 [Media Content] 009: Misaligned track duration\n *\n * @public\n */\nexport const SVTA_MISALIGNED_TRACK_DURATION = 1009 as const\n\n/**\n * SVTA standardized error codes in the Media Content category (1xxx):\n * issues with the content itself.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaMediaContentErrorCode = {\n\t/**\n\t * Unknown media content error\n\t */\n\tUNKNOWN: SVTA_MEDIA_CONTENT_UNKNOWN as typeof SVTA_MEDIA_CONTENT_UNKNOWN,\n\n\t/**\n\t * Media unavailable\n\t */\n\tMEDIA_UNAVAILABLE: SVTA_MEDIA_UNAVAILABLE as typeof SVTA_MEDIA_UNAVAILABLE,\n\n\t/**\n\t * Invalid manifest\n\t */\n\tINVALID_MANIFEST: SVTA_INVALID_MANIFEST as typeof SVTA_INVALID_MANIFEST,\n\n\t/**\n\t * Track not available\n\t */\n\tTRACK_NOT_AVAILABLE: SVTA_TRACK_NOT_AVAILABLE as typeof SVTA_TRACK_NOT_AVAILABLE,\n\n\t/**\n\t * Unsupported video format\n\t */\n\tUNSUPPORTED_VIDEO_FORMAT: SVTA_UNSUPPORTED_VIDEO_FORMAT as typeof SVTA_UNSUPPORTED_VIDEO_FORMAT,\n\n\t/**\n\t * Unsupported audio format\n\t */\n\tUNSUPPORTED_AUDIO_FORMAT: SVTA_UNSUPPORTED_AUDIO_FORMAT as typeof SVTA_UNSUPPORTED_AUDIO_FORMAT,\n\n\t/**\n\t * Unsupported text format\n\t */\n\tUNSUPPORTED_TEXT_FORMAT: SVTA_UNSUPPORTED_TEXT_FORMAT as typeof SVTA_UNSUPPORTED_TEXT_FORMAT,\n\n\t/**\n\t * Invalid composition track segment time\n\t */\n\tINVALID_COMPOSITION_TRACK_SEGMENT_TIME: SVTA_INVALID_COMPOSITION_TRACK_SEGMENT_TIME as typeof SVTA_INVALID_COMPOSITION_TRACK_SEGMENT_TIME,\n\n\t/**\n\t * Segment exceeds specified bitrate for track\n\t */\n\tSEGMENT_EXCEEDS_TRACK_BITRATE: SVTA_SEGMENT_EXCEEDS_TRACK_BITRATE as typeof SVTA_SEGMENT_EXCEEDS_TRACK_BITRATE,\n\n\t/**\n\t * Misaligned track duration\n\t */\n\tMISALIGNED_TRACK_DURATION: SVTA_MISALIGNED_TRACK_DURATION as typeof SVTA_MISALIGNED_TRACK_DURATION,\n} as const\n\n/**\n * Union type of all {@link (SvtaMediaContentErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaMediaContentErrorCode = ValueOf<typeof SvtaMediaContentErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 3 [Network] 000: Unknown network error\n *\n * @public\n */\nexport const SVTA_NETWORK_UNKNOWN = 3000 as const\n\n/**\n * SVTA 3 [Network] 001: No network connection\n *\n * @public\n */\nexport const SVTA_NO_NETWORK_CONNECTION = 3001 as const\n\n/**\n * SVTA 3 [Network] 002: HTTP timeout\n *\n * @public\n */\nexport const SVTA_HTTP_TIMEOUT = 3002 as const\n\n/**\n * SVTA 3 [Network] 003: Unable to resolve host\n *\n * @public\n */\nexport const SVTA_HOST_RESOLUTION_ERROR = 3003 as const\n\n/**\n * SVTA 3 [Network] 004: Resource not found\n *\n * @public\n */\nexport const SVTA_RESOURCE_NOT_FOUND = 3004 as const\n\n/**\n * SVTA 3 [Network] 005: Invalid URI\n *\n * @public\n */\nexport const SVTA_INVALID_URI = 3005 as const\n\n/**\n * SVTA 3 [Network] 006: Unsupported URI scheme\n *\n * @public\n */\nexport const SVTA_UNSUPPORTED_URI_SCHEME = 3006 as const\n\n/**\n * SVTA 3 [Network] 007: Download error\n *\n * @public\n */\nexport const SVTA_DOWNLOAD_ERROR = 3007 as const\n\n/**\n * SVTA 3 [Network] 008: Max retries have been exceeded\n *\n * @public\n */\nexport const SVTA_MAX_RETRIES_EXCEEDED = 3008 as const\n\n/**\n * SVTA 3 [Network] 009: Insufficient bandwidth to support playback of current presentation\n *\n * @public\n */\nexport const SVTA_INSUFFICIENT_BANDWIDTH = 3009 as const\n\n/**\n * SVTA 3 [Network] 010: Resource denied\n *\n * @public\n */\nexport const SVTA_RESOURCE_DENIED = 3010 as const\n\n/**\n * SVTA 3 [Network] 011: Invalid HTTP content type value\n *\n * @public\n */\nexport const SVTA_INVALID_HTTP_CONTENT_TYPE = 3011 as const\n\n/**\n * SVTA standardized error codes in the Network category (3xxx): issues\n * on the network, including unavailable resources.\n *\n * HTTP response status codes embed into this category at indices 100\n * through 599. `3404` is an HTTP 404 response. See\n * `httpStatusToSvtaErrorCode`.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaNetworkErrorCode = {\n\t/**\n\t * Unknown network error\n\t */\n\tUNKNOWN: SVTA_NETWORK_UNKNOWN as typeof SVTA_NETWORK_UNKNOWN,\n\n\t/**\n\t * No network connection\n\t */\n\tNO_NETWORK_CONNECTION: SVTA_NO_NETWORK_CONNECTION as typeof SVTA_NO_NETWORK_CONNECTION,\n\n\t/**\n\t * HTTP timeout\n\t */\n\tHTTP_TIMEOUT: SVTA_HTTP_TIMEOUT as typeof SVTA_HTTP_TIMEOUT,\n\n\t/**\n\t * Unable to resolve host\n\t */\n\tHOST_RESOLUTION_ERROR: SVTA_HOST_RESOLUTION_ERROR as typeof SVTA_HOST_RESOLUTION_ERROR,\n\n\t/**\n\t * Resource not found\n\t */\n\tRESOURCE_NOT_FOUND: SVTA_RESOURCE_NOT_FOUND as typeof SVTA_RESOURCE_NOT_FOUND,\n\n\t/**\n\t * Invalid URI\n\t */\n\tINVALID_URI: SVTA_INVALID_URI as typeof SVTA_INVALID_URI,\n\n\t/**\n\t * Unsupported URI scheme\n\t */\n\tUNSUPPORTED_URI_SCHEME: SVTA_UNSUPPORTED_URI_SCHEME as typeof SVTA_UNSUPPORTED_URI_SCHEME,\n\n\t/**\n\t * Download error\n\t */\n\tDOWNLOAD_ERROR: SVTA_DOWNLOAD_ERROR as typeof SVTA_DOWNLOAD_ERROR,\n\n\t/**\n\t * Max retries have been exceeded\n\t */\n\tMAX_RETRIES_EXCEEDED: SVTA_MAX_RETRIES_EXCEEDED as typeof SVTA_MAX_RETRIES_EXCEEDED,\n\n\t/**\n\t * Insufficient bandwidth to support playback of current presentation\n\t */\n\tINSUFFICIENT_BANDWIDTH: SVTA_INSUFFICIENT_BANDWIDTH as typeof SVTA_INSUFFICIENT_BANDWIDTH,\n\n\t/**\n\t * Resource denied\n\t */\n\tRESOURCE_DENIED: SVTA_RESOURCE_DENIED as typeof SVTA_RESOURCE_DENIED,\n\n\t/**\n\t * Invalid HTTP content type value\n\t */\n\tINVALID_HTTP_CONTENT_TYPE: SVTA_INVALID_HTTP_CONTENT_TYPE as typeof SVTA_INVALID_HTTP_CONTENT_TYPE,\n} as const\n\n/**\n * Union type of all {@link (SvtaNetworkErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaNetworkErrorCode = ValueOf<typeof SvtaNetworkErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 2 [Playback] 000: Unknown playback error\n *\n * @public\n */\nexport const SVTA_PLAYBACK_UNKNOWN = 2000 as const\n\n/**\n * SVTA 2 [Playback] 001: Video buffer underrun\n *\n * @public\n */\nexport const SVTA_VIDEO_BUFFER_UNDERRUN = 2001 as const\n\n/**\n * SVTA 2 [Playback] 002: Audio buffer underrun\n *\n * @public\n */\nexport const SVTA_AUDIO_BUFFER_UNDERRUN = 2002 as const\n\n/**\n * SVTA 2 [Playback] 003: Video buffering timeout\n *\n * @public\n */\nexport const SVTA_VIDEO_BUFFERING_TIMEOUT = 2003 as const\n\n/**\n * SVTA 2 [Playback] 004: Audio buffering timeout\n *\n * @public\n */\nexport const SVTA_AUDIO_BUFFERING_TIMEOUT = 2004 as const\n\n/**\n * SVTA 2 [Playback] 005: Unable to parse manifest\n *\n * @public\n */\nexport const SVTA_MANIFEST_PARSE_ERROR = 2005 as const\n\n/**\n * SVTA 2 [Playback] 006: Segment parse error\n *\n * @public\n */\nexport const SVTA_SEGMENT_PARSE_ERROR = 2006 as const\n\n/**\n * SVTA 2 [Playback] 007: Unable to decode video\n *\n * @public\n */\nexport const SVTA_VIDEO_DECODE_ERROR = 2007 as const\n\n/**\n * SVTA 2 [Playback] 008: Unable to decode audio\n *\n * @public\n */\nexport const SVTA_AUDIO_DECODE_ERROR = 2008 as const\n\n/**\n * SVTA 2 [Playback] 009: Video dropped frame count exceeds threshold\n *\n * @public\n */\nexport const SVTA_VIDEO_DROPPED_FRAMES_EXCEEDED = 2009 as const\n\n/**\n * SVTA 2 [Playback] 010: Playhead exceeds content duration\n *\n * @public\n */\nexport const SVTA_PLAYHEAD_EXCEEDS_CONTENT_DURATION = 2010 as const\n\n/**\n * SVTA 2 [Playback] 011: No supported video track\n *\n * @public\n */\nexport const SVTA_NO_SUPPORTED_VIDEO_TRACK = 2011 as const\n\n/**\n * SVTA 2 [Playback] 012: No supported audio track\n *\n * @public\n */\nexport const SVTA_NO_SUPPORTED_AUDIO_TRACK = 2012 as const\n\n/**\n * SVTA 2 [Playback] 013: No matching codec / profile / level\n *\n * @public\n */\nexport const SVTA_NO_MATCHING_CODEC = 2013 as const\n\n/**\n * SVTA 2 [Playback] 014: Primary manifest load error\n *\n * @public\n */\nexport const SVTA_PRIMARY_MANIFEST_LOAD_ERROR = 2014 as const\n\n/**\n * SVTA 2 [Playback] 015: Primary manifest load timeout\n *\n * @public\n */\nexport const SVTA_PRIMARY_MANIFEST_LOAD_TIMEOUT = 2015 as const\n\n/**\n * SVTA 2 [Playback] 016: Unable to parse track from manifest\n *\n * @public\n */\nexport const SVTA_MANIFEST_TRACK_PARSE_ERROR = 2016 as const\n\n/**\n * SVTA 2 [Playback] 017: Secondary manifest / asset list load error\n *\n * @public\n */\nexport const SVTA_SECONDARY_MANIFEST_LOAD_ERROR = 2017 as const\n\n/**\n * SVTA 2 [Playback] 018: Unable to parse secondary manifest / asset list\n *\n * @public\n */\nexport const SVTA_SECONDARY_MANIFEST_PARSE_ERROR = 2018 as const\n\n/**\n * SVTA 2 [Playback] 019: Unable to switch tracks\n *\n * @public\n */\nexport const SVTA_TRACK_SWITCH_ERROR = 2019 as const\n\n/**\n * SVTA 2 [Playback] 020: Track load error\n *\n * @public\n */\nexport const SVTA_TRACK_LOAD_ERROR = 2020 as const\n\n/**\n * SVTA 2 [Playback] 021: Remux issue\n *\n * @public\n */\nexport const SVTA_REMUX_ERROR = 2021 as const\n\n/**\n * SVTA 2 [Playback] 022: Buffer initialization error\n *\n * @public\n */\nexport const SVTA_BUFFER_INITIALIZATION_ERROR = 2022 as const\n\n/**\n * SVTA 2 [Playback] 023: Buffer append error\n *\n * @public\n */\nexport const SVTA_BUFFER_APPEND_ERROR = 2023 as const\n\n/**\n * SVTA 2 [Playback] 024: Buffer remove error\n *\n * @public\n */\nexport const SVTA_BUFFER_REMOVE_ERROR = 2024 as const\n\n/**\n * SVTA 2 [Playback] 025: Buffer full error\n *\n * @public\n */\nexport const SVTA_BUFFER_FULL_ERROR = 2025 as const\n\n/**\n * SVTA 2 [Playback] 026: Buffer seek over hole\n *\n * @public\n */\nexport const SVTA_BUFFER_SEEK_OVER_HOLE = 2026 as const\n\n/**\n * SVTA 2 [Playback] 027: Buffer nudge on stall\n *\n * @public\n */\nexport const SVTA_BUFFER_NUDGE_ON_STALL = 2027 as const\n\n/**\n * SVTA 2 [Playback] 028: Out of memory\n *\n * @public\n */\nexport const SVTA_OUT_OF_MEMORY = 2028 as const\n\n/**\n * SVTA 2 [Playback] 029: Segment load error\n *\n * @public\n */\nexport const SVTA_SEGMENT_LOAD_ERROR = 2029 as const\n\n/**\n * SVTA 2 [Playback] 030: Segment timeout error\n *\n * @public\n */\nexport const SVTA_SEGMENT_TIMEOUT_ERROR = 2030 as const\n\n/**\n * SVTA 2 [Playback] 031: Initialization segment error\n *\n * @public\n */\nexport const SVTA_INITIALIZATION_SEGMENT_ERROR = 2031 as const\n\n/**\n * SVTA 2 [Playback] 032: Time sync failed error\n *\n * @public\n */\nexport const SVTA_TIME_SYNC_ERROR = 2032 as const\n\n/**\n * SVTA 2 [Playback] 033: Fragment load error\n *\n * @public\n */\nexport const SVTA_FRAGMENT_LOAD_ERROR = 2033 as const\n\n/**\n * SVTA 2 [Playback] 034: Fragment timeout error\n *\n * @public\n */\nexport const SVTA_FRAGMENT_TIMEOUT_ERROR = 2034 as const\n\n/**\n * SVTA 2 [Playback] 035: Live timeshifting content out of bounds\n *\n * @public\n */\nexport const SVTA_LIVE_TIMESHIFT_OUT_OF_BOUNDS = 2035 as const\n\n/**\n * SVTA 2 [Playback] 036: Switched to higher latency\n *\n * @public\n */\nexport const SVTA_SWITCHED_TO_HIGHER_LATENCY = 2036 as const\n\n/**\n * SVTA 2 [Playback] 037: Unable to switch to fullscreen\n *\n * @public\n */\nexport const SVTA_FULLSCREEN_ERROR = 2037 as const\n\n/**\n * SVTA 2 [Playback] 038: Unable to present picture-in-picture\n *\n * @public\n */\nexport const SVTA_PICTURE_IN_PICTURE_ERROR = 2038 as const\n\n/**\n * SVTA 2 [Playback] 039: Manifest feature unsupported\n *\n * @public\n */\nexport const SVTA_MANIFEST_FEATURE_UNSUPPORTED = 2039 as const\n\n/**\n * SVTA 2 [Playback] 040: Content steering manifest load error\n *\n * @public\n */\nexport const SVTA_CONTENT_STEERING_MANIFEST_LOAD_ERROR = 2040 as const\n\n/**\n * SVTA 2 [Playback] 041: Unable to parse content steering manifest\n *\n * @public\n */\nexport const SVTA_CONTENT_STEERING_MANIFEST_PARSE_ERROR = 2041 as const\n\n/**\n * SVTA standardized error codes in the Playback category (2xxx): the\n * player is unable to sustain the playback experience.\n *\n * When signalling a buffer event for a track the player cannot identify,\n * the spec designates `VIDEO_BUFFER_UNDERRUN` (2001) as the default.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaPlaybackErrorCode = {\n\t/**\n\t * Unknown playback error\n\t */\n\tUNKNOWN: SVTA_PLAYBACK_UNKNOWN as typeof SVTA_PLAYBACK_UNKNOWN,\n\n\t/**\n\t * Video buffer underrun\n\t */\n\tVIDEO_BUFFER_UNDERRUN: SVTA_VIDEO_BUFFER_UNDERRUN as typeof SVTA_VIDEO_BUFFER_UNDERRUN,\n\n\t/**\n\t * Audio buffer underrun\n\t */\n\tAUDIO_BUFFER_UNDERRUN: SVTA_AUDIO_BUFFER_UNDERRUN as typeof SVTA_AUDIO_BUFFER_UNDERRUN,\n\n\t/**\n\t * Video buffering timeout\n\t */\n\tVIDEO_BUFFERING_TIMEOUT: SVTA_VIDEO_BUFFERING_TIMEOUT as typeof SVTA_VIDEO_BUFFERING_TIMEOUT,\n\n\t/**\n\t * Audio buffering timeout\n\t */\n\tAUDIO_BUFFERING_TIMEOUT: SVTA_AUDIO_BUFFERING_TIMEOUT as typeof SVTA_AUDIO_BUFFERING_TIMEOUT,\n\n\t/**\n\t * Unable to parse manifest\n\t */\n\tMANIFEST_PARSE_ERROR: SVTA_MANIFEST_PARSE_ERROR as typeof SVTA_MANIFEST_PARSE_ERROR,\n\n\t/**\n\t * Segment parse error\n\t */\n\tSEGMENT_PARSE_ERROR: SVTA_SEGMENT_PARSE_ERROR as typeof SVTA_SEGMENT_PARSE_ERROR,\n\n\t/**\n\t * Unable to decode video\n\t */\n\tVIDEO_DECODE_ERROR: SVTA_VIDEO_DECODE_ERROR as typeof SVTA_VIDEO_DECODE_ERROR,\n\n\t/**\n\t * Unable to decode audio\n\t */\n\tAUDIO_DECODE_ERROR: SVTA_AUDIO_DECODE_ERROR as typeof SVTA_AUDIO_DECODE_ERROR,\n\n\t/**\n\t * Video dropped frame count exceeds threshold\n\t */\n\tVIDEO_DROPPED_FRAMES_EXCEEDED: SVTA_VIDEO_DROPPED_FRAMES_EXCEEDED as typeof SVTA_VIDEO_DROPPED_FRAMES_EXCEEDED,\n\n\t/**\n\t * Playhead exceeds content duration\n\t */\n\tPLAYHEAD_EXCEEDS_CONTENT_DURATION: SVTA_PLAYHEAD_EXCEEDS_CONTENT_DURATION as typeof SVTA_PLAYHEAD_EXCEEDS_CONTENT_DURATION,\n\n\t/**\n\t * No supported video track\n\t */\n\tNO_SUPPORTED_VIDEO_TRACK: SVTA_NO_SUPPORTED_VIDEO_TRACK as typeof SVTA_NO_SUPPORTED_VIDEO_TRACK,\n\n\t/**\n\t * No supported audio track\n\t */\n\tNO_SUPPORTED_AUDIO_TRACK: SVTA_NO_SUPPORTED_AUDIO_TRACK as typeof SVTA_NO_SUPPORTED_AUDIO_TRACK,\n\n\t/**\n\t * No matching codec / profile / level\n\t */\n\tNO_MATCHING_CODEC: SVTA_NO_MATCHING_CODEC as typeof SVTA_NO_MATCHING_CODEC,\n\n\t/**\n\t * Primary manifest load error\n\t */\n\tPRIMARY_MANIFEST_LOAD_ERROR: SVTA_PRIMARY_MANIFEST_LOAD_ERROR as typeof SVTA_PRIMARY_MANIFEST_LOAD_ERROR,\n\n\t/**\n\t * Primary manifest load timeout\n\t */\n\tPRIMARY_MANIFEST_LOAD_TIMEOUT: SVTA_PRIMARY_MANIFEST_LOAD_TIMEOUT as typeof SVTA_PRIMARY_MANIFEST_LOAD_TIMEOUT,\n\n\t/**\n\t * Unable to parse track from manifest\n\t */\n\tMANIFEST_TRACK_PARSE_ERROR: SVTA_MANIFEST_TRACK_PARSE_ERROR as typeof SVTA_MANIFEST_TRACK_PARSE_ERROR,\n\n\t/**\n\t * Secondary manifest / asset list load error\n\t */\n\tSECONDARY_MANIFEST_LOAD_ERROR: SVTA_SECONDARY_MANIFEST_LOAD_ERROR as typeof SVTA_SECONDARY_MANIFEST_LOAD_ERROR,\n\n\t/**\n\t * Unable to parse secondary manifest / asset list\n\t */\n\tSECONDARY_MANIFEST_PARSE_ERROR: SVTA_SECONDARY_MANIFEST_PARSE_ERROR as typeof SVTA_SECONDARY_MANIFEST_PARSE_ERROR,\n\n\t/**\n\t * Unable to switch tracks\n\t */\n\tTRACK_SWITCH_ERROR: SVTA_TRACK_SWITCH_ERROR as typeof SVTA_TRACK_SWITCH_ERROR,\n\n\t/**\n\t * Track load error\n\t */\n\tTRACK_LOAD_ERROR: SVTA_TRACK_LOAD_ERROR as typeof SVTA_TRACK_LOAD_ERROR,\n\n\t/**\n\t * Remux issue\n\t */\n\tREMUX_ERROR: SVTA_REMUX_ERROR as typeof SVTA_REMUX_ERROR,\n\n\t/**\n\t * Buffer initialization error\n\t */\n\tBUFFER_INITIALIZATION_ERROR: SVTA_BUFFER_INITIALIZATION_ERROR as typeof SVTA_BUFFER_INITIALIZATION_ERROR,\n\n\t/**\n\t * Buffer append error\n\t */\n\tBUFFER_APPEND_ERROR: SVTA_BUFFER_APPEND_ERROR as typeof SVTA_BUFFER_APPEND_ERROR,\n\n\t/**\n\t * Buffer remove error\n\t */\n\tBUFFER_REMOVE_ERROR: SVTA_BUFFER_REMOVE_ERROR as typeof SVTA_BUFFER_REMOVE_ERROR,\n\n\t/**\n\t * Buffer full error\n\t */\n\tBUFFER_FULL_ERROR: SVTA_BUFFER_FULL_ERROR as typeof SVTA_BUFFER_FULL_ERROR,\n\n\t/**\n\t * Buffer seek over hole\n\t */\n\tBUFFER_SEEK_OVER_HOLE: SVTA_BUFFER_SEEK_OVER_HOLE as typeof SVTA_BUFFER_SEEK_OVER_HOLE,\n\n\t/**\n\t * Buffer nudge on stall\n\t */\n\tBUFFER_NUDGE_ON_STALL: SVTA_BUFFER_NUDGE_ON_STALL as typeof SVTA_BUFFER_NUDGE_ON_STALL,\n\n\t/**\n\t * Out of memory\n\t */\n\tOUT_OF_MEMORY: SVTA_OUT_OF_MEMORY as typeof SVTA_OUT_OF_MEMORY,\n\n\t/**\n\t * Segment load error\n\t */\n\tSEGMENT_LOAD_ERROR: SVTA_SEGMENT_LOAD_ERROR as typeof SVTA_SEGMENT_LOAD_ERROR,\n\n\t/**\n\t * Segment timeout error\n\t */\n\tSEGMENT_TIMEOUT_ERROR: SVTA_SEGMENT_TIMEOUT_ERROR as typeof SVTA_SEGMENT_TIMEOUT_ERROR,\n\n\t/**\n\t * Initialization segment error\n\t */\n\tINITIALIZATION_SEGMENT_ERROR: SVTA_INITIALIZATION_SEGMENT_ERROR as typeof SVTA_INITIALIZATION_SEGMENT_ERROR,\n\n\t/**\n\t * Time sync failed error\n\t */\n\tTIME_SYNC_ERROR: SVTA_TIME_SYNC_ERROR as typeof SVTA_TIME_SYNC_ERROR,\n\n\t/**\n\t * Fragment load error\n\t */\n\tFRAGMENT_LOAD_ERROR: SVTA_FRAGMENT_LOAD_ERROR as typeof SVTA_FRAGMENT_LOAD_ERROR,\n\n\t/**\n\t * Fragment timeout error\n\t */\n\tFRAGMENT_TIMEOUT_ERROR: SVTA_FRAGMENT_TIMEOUT_ERROR as typeof SVTA_FRAGMENT_TIMEOUT_ERROR,\n\n\t/**\n\t * Live timeshifting content out of bounds\n\t */\n\tLIVE_TIMESHIFT_OUT_OF_BOUNDS: SVTA_LIVE_TIMESHIFT_OUT_OF_BOUNDS as typeof SVTA_LIVE_TIMESHIFT_OUT_OF_BOUNDS,\n\n\t/**\n\t * Switched to higher latency\n\t */\n\tSWITCHED_TO_HIGHER_LATENCY: SVTA_SWITCHED_TO_HIGHER_LATENCY as typeof SVTA_SWITCHED_TO_HIGHER_LATENCY,\n\n\t/**\n\t * Unable to switch to fullscreen\n\t */\n\tFULLSCREEN_ERROR: SVTA_FULLSCREEN_ERROR as typeof SVTA_FULLSCREEN_ERROR,\n\n\t/**\n\t * Unable to present picture-in-picture\n\t */\n\tPICTURE_IN_PICTURE_ERROR: SVTA_PICTURE_IN_PICTURE_ERROR as typeof SVTA_PICTURE_IN_PICTURE_ERROR,\n\n\t/**\n\t * Manifest feature unsupported\n\t */\n\tMANIFEST_FEATURE_UNSUPPORTED: SVTA_MANIFEST_FEATURE_UNSUPPORTED as typeof SVTA_MANIFEST_FEATURE_UNSUPPORTED,\n\n\t/**\n\t * Content steering manifest load error\n\t */\n\tCONTENT_STEERING_MANIFEST_LOAD_ERROR: SVTA_CONTENT_STEERING_MANIFEST_LOAD_ERROR as typeof SVTA_CONTENT_STEERING_MANIFEST_LOAD_ERROR,\n\n\t/**\n\t * Unable to parse content steering manifest\n\t */\n\tCONTENT_STEERING_MANIFEST_PARSE_ERROR: SVTA_CONTENT_STEERING_MANIFEST_PARSE_ERROR as typeof SVTA_CONTENT_STEERING_MANIFEST_PARSE_ERROR,\n} as const\n\n/**\n * Union type of all {@link (SvtaPlaybackErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaPlaybackErrorCode = ValueOf<typeof SvtaPlaybackErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 6 [Remote Play] 000: Unknown remote play error\n *\n * @public\n */\nexport const SVTA_REMOTE_PLAY_UNKNOWN = 6000 as const\n\n/**\n * SVTA 6 [Remote Play] 001: Sender unable to initialize remote play\n *\n * @public\n */\nexport const SVTA_SENDER_INITIALIZATION_ERROR = 6001 as const\n\n/**\n * SVTA 6 [Remote Play] 002: Sender unable to make a connection to the receiver\n *\n * @public\n */\nexport const SVTA_SENDER_CONNECTION_ERROR = 6002 as const\n\n/**\n * SVTA 6 [Remote Play] 003: Receiver does not exist or is unavailable\n *\n * @public\n */\nexport const SVTA_RECEIVER_UNAVAILABLE = 6003 as const\n\n/**\n * SVTA 6 [Remote Play] 004: Receiver refused remote play connection\n *\n * @public\n */\nexport const SVTA_RECEIVER_CONNECTION_REFUSED = 6004 as const\n\n/**\n * SVTA 6 [Remote Play] 005: Connection to the receiver lost\n *\n * @public\n */\nexport const SVTA_RECEIVER_CONNECTION_LOST = 6005 as const\n\n/**\n * SVTA 6 [Remote Play] 006: Connection to the sender lost\n *\n * @public\n */\nexport const SVTA_SENDER_CONNECTION_LOST = 6006 as const\n\n/**\n * SVTA 6 [Remote Play] 007: Receiver is not supported to playback this stream\n *\n * @public\n */\nexport const SVTA_RECEIVER_UNSUPPORTED_STREAM = 6007 as const\n\n/**\n * SVTA 6 [Remote Play] 008: Receiver is already in remote play\n *\n * @public\n */\nexport const SVTA_RECEIVER_ALREADY_IN_REMOTE_PLAY = 6008 as const\n\n/**\n * SVTA 6 [Remote Play] 009: Receiver terminated playback because of an error\n *\n * @public\n */\nexport const SVTA_RECEIVER_PLAYBACK_ERROR = 6009 as const\n\n/**\n * SVTA standardized error codes in the Remote Play category (6xxx): the\n * framework supporting play out of the stream on a second device.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaRemotePlayErrorCode = {\n\t/**\n\t * Unknown remote play error\n\t */\n\tUNKNOWN: SVTA_REMOTE_PLAY_UNKNOWN as typeof SVTA_REMOTE_PLAY_UNKNOWN,\n\n\t/**\n\t * Sender unable to initialize remote play\n\t */\n\tSENDER_INITIALIZATION_ERROR: SVTA_SENDER_INITIALIZATION_ERROR as typeof SVTA_SENDER_INITIALIZATION_ERROR,\n\n\t/**\n\t * Sender unable to make a connection to the receiver\n\t */\n\tSENDER_CONNECTION_ERROR: SVTA_SENDER_CONNECTION_ERROR as typeof SVTA_SENDER_CONNECTION_ERROR,\n\n\t/**\n\t * Receiver does not exist or is unavailable\n\t */\n\tRECEIVER_UNAVAILABLE: SVTA_RECEIVER_UNAVAILABLE as typeof SVTA_RECEIVER_UNAVAILABLE,\n\n\t/**\n\t * Receiver refused remote play connection\n\t */\n\tRECEIVER_CONNECTION_REFUSED: SVTA_RECEIVER_CONNECTION_REFUSED as typeof SVTA_RECEIVER_CONNECTION_REFUSED,\n\n\t/**\n\t * Connection to the receiver lost\n\t */\n\tRECEIVER_CONNECTION_LOST: SVTA_RECEIVER_CONNECTION_LOST as typeof SVTA_RECEIVER_CONNECTION_LOST,\n\n\t/**\n\t * Connection to the sender lost\n\t */\n\tSENDER_CONNECTION_LOST: SVTA_SENDER_CONNECTION_LOST as typeof SVTA_SENDER_CONNECTION_LOST,\n\n\t/**\n\t * Receiver is not supported to playback this stream\n\t */\n\tRECEIVER_UNSUPPORTED_STREAM: SVTA_RECEIVER_UNSUPPORTED_STREAM as typeof SVTA_RECEIVER_UNSUPPORTED_STREAM,\n\n\t/**\n\t * Receiver is already in remote play\n\t */\n\tRECEIVER_ALREADY_IN_REMOTE_PLAY: SVTA_RECEIVER_ALREADY_IN_REMOTE_PLAY as typeof SVTA_RECEIVER_ALREADY_IN_REMOTE_PLAY,\n\n\t/**\n\t * Receiver terminated playback because of an error\n\t */\n\tRECEIVER_PLAYBACK_ERROR: SVTA_RECEIVER_PLAYBACK_ERROR as typeof SVTA_RECEIVER_PLAYBACK_ERROR,\n} as const\n\n/**\n * Union type of all {@link (SvtaRemotePlayErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaRemotePlayErrorCode = ValueOf<typeof SvtaRemotePlayErrorCode>\n","import type { ValueOf } from '@svta/cml-utils'\n\n/**\n * SVTA 0 [Unknown] 999: Unknown error\n *\n * @public\n */\nexport const SVTA_UNKNOWN = 999 as const\n\n/**\n * SVTA standardized error code in the Unknown category: the error is\n * entirely unclassified. `999` is the only code below 1000, so fully\n * unknown errors can be filtered by returning codes less than 1000.\n *\n * @see {@link https://www.svta.org/product/svta2070/ | SVTA2070: Standardized Error Codes}\n *\n * @enum\n *\n * @public\n */\nexport const SvtaUnknownErrorCode = {\n\t/**\n\t * Unknown error\n\t */\n\tUNKNOWN: SVTA_UNKNOWN as typeof SVTA_UNKNOWN,\n} as const\n\n/**\n * Union type of all {@link (SvtaUnknownErrorCode:variable)} values.\n *\n * @public\n */\nexport type SvtaUnknownErrorCode = ValueOf<typeof SvtaUnknownErrorCode>\n","import { SvtaErrorCategory } from './SvtaErrorCategory.ts'\n\n/**\n * Embed an IAB VAST error code into the SVTA Advertising error category,\n * per the external code embedding rule of SVTA2070. VAST error 301\n * becomes 7301. The four-digit VAST error 1009 (empty VAST response)\n * does not fit a three-digit index, so SVTA2070 maps it to 7999.\n *\n * Values outside the valid VAST error code range (integers 100-999, or\n * 1009) return the unknown advertising error code (7000) rather than\n * throwing, so error reporting paths cannot fail.\n *\n * @param vastError - An IAB VAST error code (100-999, or 1009).\n * @returns The SVTA advertising error code embedding the VAST error.\n *\n * @public\n *\n * @example\n * {@includeCode ../test/vastErrorToSvtaErrorCode.test.ts#example}\n */\nexport function vastErrorToSvtaErrorCode(vastError: number): number {\n\tconst base = SvtaErrorCategory.ADVERTISING * 1000\n\n\t// SVTA2070 maps the four-digit VAST error 1009 (empty VAST response) to index 999.\n\tif (vastError === 1009) {\n\t\treturn base + 999\n\t}\n\n\tif (!Number.isInteger(vastError) || vastError < 100 || vastError > 999) {\n\t\treturn base\n\t}\n\n\treturn base + vastError\n}\n"],"mappings":";;;;;;AAOA,MAAa,8BAA8B;;;;;;AAO3C,MAAa,oCAAoC;;;;;;AAOjD,MAAa,+BAA+B;;;;;;AAO5C,MAAa,8BAA8B;;;;;;AAO3C,MAAa,yCAAyC;;;;;;AAOtD,MAAa,oCAAoC;;;;;;AAOjD,MAAa,kCAAkC;;;;;;AAO/C,MAAa,kCAAkC;;;;;;AAO/C,MAAa,6BAA6B;;;;;;;;;;;;AAa1C,MAAa,oBAAoB;;;;CAIhC,SAAA;;;;CAKA,eAAA;;;;CAKA,UAAA;;;;CAKA,SAAA;;;;CAKA,oBAAA;;;;CAKA,eAAA;;;;CAKA,aAAA;;;;CAKA,aAAA;;;;CAKA,QAAA;AACD;;;;;;;;;;;;;;;;;ACzGA,SAAgB,qBAAqB,MAA6C;CACjF,IAAI,CAAC,OAAO,UAAU,IAAI,GACzB;CAGD,MAAM,WAAW,KAAK,MAAM,OAAO,GAAI;CAEvC,IAAK,YAAY,kBAAkB,WAAW,YAAY,kBAAkB,eAAgB,aAAa,kBAAkB,QAC1H,OAAO;AAIT;;;;;;;;;;;;;;;;;;ACbA,SAAgB,kBAAkB,MAAkC;CACnE,IAAI,CAAC,OAAO,UAAU,IAAI,KAAK,OAAO,GACrC;CAGD,OAAO,OAAO;AACf;;;;;;;;;;;;;;;;;;;;ACFA,SAAgB,0BAA0B,QAAwB;CACjE,MAAM,OAAO,kBAAkB,UAAU;CAEzC,IAAI,CAAC,OAAO,UAAU,MAAM,KAAK,SAAS,OAAO,SAAS,KACzD,OAAO;CAGR,OAAO,OAAO;AACf;;;;;;;;ACpBA,MAAa,6BAA6B;;;;;;AAO1C,MAAa,8BAA8B;;;;;;AAO3C,MAAa,+BAA+B;;;;;;AAO5C,MAAa,2CAA2C;;;;;;AAOxD,MAAa,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;;;AAOzC,MAAa,mCAAmC;;;;;;AAOhD,MAAa,gCAAgC;;;;;;AAO7C,MAAa,8BAA8B;;;;;;AAO3C,MAAa,mCAAmC;;;;;;AAOhD,MAAa,uCAAuC;;;;;;AAOpD,MAAa,+BAA+B;;;;;;;;;;;AAY5C,MAAa,0BAA0B;;;;CAItC,SAAS;;;;CAKT,6BAA6B;;;;CAK7B,yBAAyB;;;;CAKzB,sBAAsB;;;;CAKtB,6BAA6B;;;;CAK7B,0BAA0B;;;;CAK1B,wBAAwB;;;;CAKxB,6BAA6B;;;;CAK7B,iCAAiC;;;;CAKjC,yBAAyB;AAC1B;;;;;;;;AC7HA,MAAa,eAAe;;;;;;;;;;;;AAa5B,MAAa,uBAAuB;;;;AAInC,SAAA,IACD;;;;;;;;;;;;;;;;;;;;;ACLA,SAAgB,yBAAyB,WAA2B;CACnE,MAAM,OAAO,kBAAkB,cAAc;CAG7C,IAAI,cAAc,MACjB,OAAO,OAAO;CAGf,IAAI,CAAC,OAAO,UAAU,SAAS,KAAK,YAAY,OAAO,YAAY,KAClE,OAAO;CAGR,OAAO,OAAO;AACf"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@svta/cml-error-codes",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "SVTA standardized streaming error codes",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -53,6 +53,6 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@svta/cml-utils": "1.6.
|
|
56
|
+
"@svta/cml-utils": "^1.6.2"
|
|
57
57
|
}
|
|
58
58
|
}
|