THEOplayer React Native Connectors
    Preparing search index...

    Class KeyOSDrmFairplayContentProtectionIntegration

    Implements

    Index

    Constructors

    Methods

    • A function to extract the Fairplay content ID from the key URI, as given by the URI attribute of the #EXT-X-KEY tag in the HLS playlist (m3u8).

      Parameters

      • skdUrl: string

        The key URI.

      Returns string

      In order to start a Fairplay license request, the player must provide the initialization data, the content ID and the certificate to the CDM. The content ID is usually contained in the key URI in some vendor-specific way, for example in the host name (e.g. skd://123456789) or in the URL query (e.g. skd://vendor?123456789). This function should extract this content ID from the key URI. This method is required only for Fairplay integrations. It is ignored for other key systems.