Amazon Vinyl
    Preparing search index...

    Function resolveCodecOverride

    • Resolves the effective override decision for a mimeType against a set of CodecOverrides, or undefined when no override applies (in which case the caller should fall back to normal support detection).

      A 'deny' on any contained codec wins over an 'allow' on another, so an explicit deny is never silently overridden by an allow elsewhere in the mimeType.

      Parameters

      • mimeType: string
      • overrides: Readonly<Record<string, CodecOverride>> | undefined

      Returns CodecOverride | undefined