Documentation
    Preparing search index...

    Function getLicenseServerUrlFromContentProtection

    • Beta

      Extracts a license server URL from an array of ContentProtection elements.

      Parameters

      • contentProtectionElements: ContentProtection[]

        Array of ContentProtection nodes from the manifest.

      • schemeIdUri: string

        schemeIdUri we are searching for.

      Returns null | string

      The license server URL, and if not found then null.

      {@includeCode ../../test/cenc/getLicenseServerUrlFromContentProtection.test.ts#example}