If your key server requires authentication, provide theDocumentation Index
Fetch the complete documentation index at: https://docs.blindcast.dev/llms.txt
Use this file to discover all available pages before exploring further.
keyServerAuth callback. The player calls it before every key request and attaches the returned token as a Bearer header.
Basic setup
async, so you can fetch or refresh tokens before returning:
How it works
- The player encounters an
EXT-X-KEYtag in the manifest - Before fetching the key, it calls your
keyServerAuth()function - The returned string is sent as
Authorization: Bearer <token> - If the key server returns 401 or 403, the player emits a
KEY_AUTH_FAILEDerror