Beta
Optional
data?: ArrayBufferThe license request data
Optional
headers?: Record<string, string>The HTP request headers
Optional
messageType?: MediaKeyMessageTypeThe license request message type (see https://www.w3.org/TR/encrypted-media/#dom-mediakeymessagetype)
HTTP method
The HTTP response type
Optional
sessionId?: stringThe corresponding EME session ID
License server URL.
Optional
withCredentials?: booleanWhether request is done using credentials (cross-site cookies)
Represents a DRM license request.
Contains all data needed to make a license acquisition request to a DRM license server.