Documentation
    Preparing search index...

    Function getLicenseRequestFromMessage

    • Beta

      Gets the PlayReady license request from the MediaKeyMessageEvent.

      Parameters

      • message: ArrayBuffer

        An ArrayBuffer from the content decryption module.

      • encoding: Encoding = UTF_16

        The message encoding type. Default is UTF-16.

      Returns ArrayBuffer

      The license request as an ArrayBuffer.

      {@includeCode ../../test/playready/getLicenseRequestFromMessage.test.ts#example}