Get HLS segment or init file
immich_get_segmentFetch an HLS init file or numbered media segment for a video asset using its id, session, and variant index, so clients can assemble or inspect stream chunks.
Instructions
Get HLS segment or init file
Streams an HLS init segment (init.mp4) or media segment (seg_N.m4s).
Immich operation: GET /assets/{id}/video/stream/{sessionId}/{variantIndex}/{filename} · tag: Assets
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | format: uuid | |
| key | No | ||
| slug | No | ||
| filename | Yes | pattern: ^(init\.mp4|seg_\d+\.m4s)$ | |
| sessionId | Yes | format: uuid | |
| variantIndex | Yes | ||
| x-immich-hls-msn | No |