---
title: "Fetch a single live HLS segment, or a track's init segment, from the in-memory live window. `seg` is `init` for the EXT-X-MAP init segment, otherwise the segment's media-sequence number; a cosmetic `.m4s` suffix is accepted (and ignored) so ffmpeg-based HLS players will fetch it. HTTP Range is honored. Segments are the verbatim signed canonical .m4s, so provenance travels with playback."
method: GET
path: "/xrpc/place.stream.playback.getLiveSegment"
tags: ["place.stream.playback"]
---

# Fetch a single live HLS segment, or a track's init segment, from the in-memory live window. `seg` is `init` for the EXT-X-MAP init segment, otherwise the segment's media-sequence number; a cosmetic `.m4s` suffix is accepted (and ignored) so ffmpeg-based HLS players will fetch it. HTTP Range is honored. Segments are the verbatim signed canonical .m4s, so provenance travels with playback.

`GET /xrpc/place.stream.playback.getLiveSegment`

## Query parameters

- `streamer` string, required — The streamer: a DID or a Bluesky handle (resolved to its DID).
- `track` string, required — Track ID (stringified u32 matching the MUXL container).
- `seg` string, required — `init` for the track's init segment, or the segment's media-sequence number. A trailing `.m4s` is accepted and ignored.
- `sid` string — Opaque playback session identifier, propagated from the media playlist that referenced this segment. Logged for view-count correlation; not used for access control.

## Response `200`

Success

## Other responses

- `400` — Bad Request

## Changes

- **2026-05-26** `db7574d6e1c1` — 1 breaking, 1 warning
  - added the new required `query` request parameter `streamer`
  - deleted the `query` request parameter `did`
- **2026-05-26** `15b4f9a5be47` — 1 info
  - endpoint added
- **2026-01-21** `b21cd7605630` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/streamplace/apis/generated-lexicon-api-schema/changes/xrpc/place.stream.playback.getLiveSegment/get.md)

---

[API](https://skmtc.dev/streamplace/apis/generated-lexicon-api-schema.md) · [All operations](https://skmtc.dev/streamplace/apis/generated-lexicon-api-schema/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/streamplace/generated-lexicon-api-schema/revisions/8e2ce7f5d85b/schema)
