@svta/common-media-library
    Preparing search index...

    Type Alias LicenseRequestBeta

    Represents a DRM license request.

    Contains all data needed to make a license acquisition request to a DRM license server.

    type LicenseRequest = {
        data?: ArrayBuffer;
        headers?: Record<string, string>;
        messageType?: MediaKeyMessageType;
        method: "GET" | "POST";
        responseType: XMLHttpRequestResponseType;
        sessionId?: string;
        url: string;
        withCredentials?: boolean;
    }
    Index

    Properties

    data?: ArrayBuffer

    The license request data

    headers?: Record<string, string>

    The HTP request headers

    messageType?: MediaKeyMessageType
    method: "GET" | "POST"

    HTTP method

    responseType: XMLHttpRequestResponseType

    The HTTP response type

    sessionId?: string

    The corresponding EME session ID

    url: string

    License server URL.

    withCredentials?: boolean

    Whether request is done using credentials (cross-site cookies)