OGPlayer Web SDK
    Preparing search index...

    Type Alias DrmTokenProvider

    DrmTokenProvider: (request: DrmTokenRequest) => Promise<Record<string, string>>

    Fresh headers for every license request — the web counterpart of the Android/iOS token providers. Called per request (renewals included) so expiring tokens can rotate; the result is merged OVER the scheme's static headers. Failures surface as DRM_TOKEN_FETCH_FAILED (4002).

    Type Declaration