Type Alias: LicenseRequest
type LicenseRequest = object;Defined in: common/LicenseRequest.ts:9
Represents a DRM license request.
Contains all data needed to make a license acquisition request to a DRM license server.
Properties
data?
data?: ArrayBuffer;Defined in: common/LicenseRequest.ts:49
The license request data
headers?
headers?: Record<string, string>;Defined in: common/LicenseRequest.ts:28
The HTP request headers
messageType?
messageType?: MediaKeyMessageType;Defined in: common/LicenseRequest.ts:39
The license request message type (see https://www.w3.org/TR/encrypted-media/#dom-mediakeymessagetype)
method
method: "GET" | "POST";Defined in: common/LicenseRequest.ts:18
HTTP method
responseType
responseType: XMLHttpRequestResponseType;Defined in: common/LicenseRequest.ts:23
The HTTP response type
sessionId?
sessionId?: string;Defined in: common/LicenseRequest.ts:44
The corresponding EME session ID
url
url: string;Defined in: common/LicenseRequest.ts:13
License server URL.
withCredentials?
withCredentials?: boolean;Defined in: common/LicenseRequest.ts:33
Whether request is done using credentials (cross-site cookies)