DrmConfig
DRM configuration for an OGMediaItem (Widevine).
Tokens are fetched via tokenProvider on every license request, so an expired session can always be renewed with fresh credentials — there is no snapshot of the token at playlist-build time.
Properties
Transforms the raw Widevine challenge into the license request body — for license servers that expect an envelope (e.g. JSON wrapping the base64 challenge). Called on every key request; null posts the raw challenge bytes. Set a matching Content-Type via addHeader.
Transforms the license server's response body before it is handed to the CDM — for servers that wrap the license in an envelope (e.g. a JSON object carrying base64 license bytes, DRMtoday-style). Null passes the raw response through.
Enables multiple concurrent DRM sessions (required for key rotation on live streams).
DRM scheme; DrmScheme.WIDEVINE unless configured otherwise.
Header the token from tokenProvider is sent in (e.g. "X-AxDRM-Message", "x-vudrm-token").