THEOplayer React Native Connectors
    Preparing search index...

    Class AxinomWidevineContentProtectionIntegration

    Implements

    Index

    Constructors

    Properties

    DEFAULT_CERTIFICATE_URL: "insert default certificate url here" = 'insert default certificate url here'
    DEFAULT_LICENSE_URL: "insert default license url here" = 'insert default license url here'

    Methods

    • Handler which will be called when a HTTP request for a new license is about to be sent.

      Parameters

      Returns MaybeAsync<BufferSource | Partial<LicenseRequest>>

      The handler must return either a request or a raw license. When a (possibly modified) request is returned, the player will send that request instead of the original request. When a raw license is returned, the request is skipped entirely and the license is used directly. If no handler is provided, the player sends the original request.

      For example, an integration may want to “wrap” the request body in a different format (e.g. JSON or XML) for certain DRM vendors, or add additional authentication tokens to the request. Alternatively, an integration may want to send the HTTP request using its own network stack, and return the final license response to the player.