Vinyl
    Preparing search index...

    Function unpackPlayReadyChallenge

    • IE and Edge wraps playready license challenges in PlayReadyKeyMessage xml. Not all PlayReady clients do this. Checks if the challenge is wrapped, and if so, returns the set headers and unwrapped challenge. Otherwise, returns the challenge as-is with the required content type header.

      Parameters

      • challenge: ArrayBuffer

        The array buffer from the 'message' cdm event.

      Returns UnpackedPlayReadyChallenge