Skip to Content
Xeonr Developer Docs
API Specificationxmb.api.v1.LiveService

Play a recording

POST
/xmb.api.v1.LiveService/StartRecordingPlayback

Plays a recording from the tuner's cache, or from the hub once delivered.

Required scopes: xmb:user:read

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

serverSlug?string
Length1 <= length
recordingUuid?string
Formatuuid
capabilities*

What the caller measured about itself.

MEASURED, not declared. On the web this comes from MediaSource.isTypeSupported, HTMLMediaElement.canPlayType and navigator.mediaCapabilities.decodingInfo run over a fixed matrix once per document; on a native client it is what the platform decoder reports. A client that sends what it wishes were true gets a stream it cannot decode, which is the correct incentive.

UNKNOWN IS PERMISSIVE, everywhere below. Any field left at zero or empty skips its gate rather than failing it. An over-eager gate fails silently and totally — the server refuses a file that would have played — while an under-eager one fails visibly, in the player, where there is something to say about it.

The structured fields cover what the server routes decisions on. Everything else the platform said travels verbatim in codec_strings, the same division ProbeService draws with raw_ffprobe_json and for the same reason: this schema is not an attempt to model every decoder, and a field is promoted up here once it has earned a place.

client?

Which surface is asking, as facts rather than as a sentence.

RAW, ALL OF IT. Every field here is something a platform API answered, passed through untouched — no client composes a description, because a description is a rendering and the server is the one place that can make six clients read consistently. That is the same argument client_summary already makes about User-Agents, carried one step earlier: the client sends what it measured, the hub decides what an admin sees.

SEPARATE FROM ClientCapabilities on purpose. That message answers one question — what can you decode — and every field on it feeds a negotiation decision. None of this does. Folding identity into it would mean a message where half the fields change the answer and half are for a human reading a log, and the next person cannot tell which is which.

WHAT IS DELIBERATELY ABSENT is a user-assigned device name, on every platform including the ones that would give it. Apple stopped answering in tvOS/iOS 16 — UIDevice.name returns the model unless the app carries a special entitlement, verified by renaming a device and watching the model come back anyway — while Android hands over Settings.Global.DEVICE_NAME for free. So a house with an Apple TV and a Shield would show "Living Room" on one row and "Apple TV" on the next, and it would read as a bug in this software rather than as a difference between two vendors' privacy positions. install_id is the answer instead: stable, uniform, and a thing an admin can label once.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.LiveService/StartRecordingPlayback" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{    "capabilities": "map[audio:[map[codec:aac maxChannels:2]] containers:[mp4 mpegts] maxBitrateBps:20000000 maxHeight:1080 maxWidth:1920 supportsHls:true video:[map[codec:h264 maxBitDepth:8 maxLevel:4.1 profiles:[high]]]]"  }'
{
  "sessionId": "4e1c9a2b-7f3d-4b5e-9a8c-2d6f0b4e8a1c",
  "recording": "map[category:PROGRAMME_CATEGORY_DRAMA channelUuid:5f0c2b9e-3a71-4d8e-9b42-1c6e8a7d0f13 codec:h264 mediaFileUuid:6b8d0f2a-4c6e-4a8b-b0d2-f4a6c8e0b2d4 missingSeconds:0 playable:true programmeUuid:c3a1e5f7-2b4d-4c6e-8a0b-d1f3e5a7c9b2 resolution:1920x1080 ruleUuid:4a6c8e0b-2d4f-4b6a-9c8e-0f2a4c6e8b1d sizeBytes:2684354560 state:RECORDING_STATE_COMPLETE subtitle:The Girl in Suite 2103 title:Bones uuid:7d9f1b3e-5a2c-4e8d-a6f0-b2c4e6a8d1f3 windowEnd:2026-10-22T21:05:00Z windowStart:2026-10-22T19:59:00Z]",
  "delivery": "map[expiresAt:2026-10-22T20:15:00Z gatewayUrl:https://gateway.xmb.gg/hls/4e1c9a2b-7f3d-4b5e-9a8c-2d6f0b4e8a1c/master.m3u8?t=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIzIn0.c2lnbmF0dXJlLXBsYWNlaG9sZGVy mediaToken:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIzIn0.c2lnbmF0dXJlLXBsYWNlaG9sZGVy mimeType:application/vnd.apple.mpegurl renewAfter:2026-10-22T20:10:00Z strategy:PLAYBACK_STRATEGY_HLS]",
  "library": "map[delivery:map[expiresAt:2026-10-22T20:15:00Z gatewayUrl:https://gateway.xmb.gg/hls/4e1c9a2b-7f3d-4b5e-9a8c-2d6f0b4e8a1c/master.m3u8?t=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIzIn0.c2lnbmF0dXJlLXBsYWNlaG9sZGVy mediaToken:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIzIn0.c2lnbmF0dXJlLXBsYWNlaG9sZGVy mimeType:application/vnd.apple.mpegurl renewAfter:2026-10-22T20:10:00Z strategy:PLAYBACK_STRATEGY_HLS] ladder:[map[available:true bitrateBps:8000000 height:1080 id:source isSource:true selected:true width:1920]] sessionId:4e1c9a2b-7f3d-4b5e-9a8c-2d6f0b4e8a1c]"
}