Docs sections
Search⌘KSigned links reference
A short reference for signed links. For a step-by-step guide, see the Security section.
| Algorithm | HS256 |
| Header | { "alg": "HS256", "typ": "JWT", "kid": "sk_…" } |
| Payload | { "code": "<code>", "iat": <unix>, "exp": <unix> } |
| Lifetime | exp − iat ≤ 24 h |
| Not allowed | the purpose field |
| Clock skew | ±5 minutes |
| What | Path on https://stream.dodocast.com |
|---|---|
| Video | /s/{jwt}/hls/mp4/{code}/master.m3u8 |
| Broadcast | /s/{jwt}/live/mp4/{code}/index.m3u8 |
| Channel | /s/{jwt}/ch/mp4/{code}/index.m3u8 |
| Course lesson | /public/pl/{code}/item/{itemCode}?t={jwt} |
Step by step, with Node.js and Python examples: Signed links.
Updated: