Streamer documentation

Everything needed to take a signal from an encoder to a player: ingest endpoints, delivery manifests, and the API that controls both. All examples use HTTPS and the public hostnames.

Quickstart

You need an account and one encoder. The dashboard creates channels under Channels → New channel; each channel gets a stable identifier and a stream key you can rotate at any time.

  1. Create a channel and give it a name. The identifier, for example ch_9f2c41, is used in every URL.
  2. Copy the ingest URL and stream key from the channel page.
  3. Paste them into your encoder and start publishing.
  4. Open the preview in the dashboard, or load the manifest in any HLS player.

Publishing with ffmpeg

shell
ffmpeg -re -i camera.mov \
  -c:v libx264 -preset veryfast -b:v 4500k -maxrate 4500k -bufsize 9000k \
  -c:a aac -b:a 128k -ar 48000 \
  -f flv "rtmp://ingest.streamer.keyubu.link/live/YOUR_STREAM_KEY"

Publishing from OBS Studio

Under Settings → Stream choose Custom, then paste the server URL and the stream key into the two fields. Leave the service field empty — the URL already contains the channel path.

Keep the key rate at 2 seconds, use the x264 or NVENC encoder, and set the audio sample rate to 48 kHz. If your upload is unstable, lower the video bitrate by 20% before lowering the resolution.

Channels and stream keys

A channel is the unit you bill, monitor and deliver. Keys are 40-character strings prefixed with sk_live_; they authenticate the encoder only and cannot be used against the REST API.

FieldExampleNotes
Channel idch_9f2c41Immutable, used in playback URLs
Stream keysk_live_4d81…Rotate from the dashboard at any time
Ingest regionfra1Anycast by default; can be pinned
Latency profilestandardEither standard or low

Rotating a key invalidates the previous one within five seconds. A running encoder is disconnected when its key is rotated, so rotate between shows rather than during one.

RTMP ingest URL format

Every ingest URL follows the same shape: host, then the fixed application name live, then your stream key as the final path segment.

ingest url
rtmp://ingest.streamer.keyubu.link/live/<stream-key>

For encrypted transport, use port 443 with the rtmps scheme — the same path applies:

rtmps://ingest.streamer.keyubu.link:443/live/<stream-key>

Query parameters

ParameterValuesEffect
regionfra1, iad1, sin1, gru1Pins ingest to one location
latencystandard, lowChooses the segment profile
record1, 0Writes an archive copy to storage

For example, to pin a broadcast to Frankfurt with the low-latency profile:

rtmp://ingest.streamer.keyubu.link/live/<stream-key>?region=fra1&latency=low
WebRTC ingest is available on Growth and above at https://streamer.keyubu.link/webrtc/<channel-id>. It accepts a WHIP publish from browsers and hardware encoders, and delivers into the same packaging pipeline.

Ingest regions

CodeLocationHost
fra1Frankfurtingest.streamer.keyubu.link
iad1Ashburningest-us.streamer.keyubu.link
sin1Singaporeingest-ap.streamer.keyubu.link
gru1São Pauloingest-sa.streamer.keyubu.link

HLS playback

Once frames arrive, Streamer writes a multi-variant manifest to the edge. The path is derived from the channel id:

manifest
https://streamer.keyubu.link/hls/<channel-id>/index.m3u8

The manifest lists four renditions with bandwidth and resolution attributes. Players pick one from the first frames and switch upward when the connection allows. Individual renditions are addressable too:

https://streamer.keyubu.link/hls/<channel-id>/1080p60/index.m3u8
https://streamer.keyubu.link/hls/<channel-id>/720p/index.m3u8

Low-latency variant

Channels using the low profile expose a second manifest with shorter segments and partial segment delivery. It is compatible with hls.js 1.4 and newer, and with Safari on iOS 16 and later.

https://streamer.keyubu.link/hls/<channel-id>/ll.m3u8
Cache headers. Segment responses are cached for 6 seconds and manifests for 1 second. Do not add a second caching layer in front of the manifest path — it will hold stale segments and cause stalls.

Embedding a player

Any player that accepts an HLS URL works. With hls.js, attach the manifest after the media element mounts:

const player = new Hls({ lowLatencyMode: true });
player.loadSource('https://streamer.keyubu.link/hls/ch_9f2c41/index.m3u8');
player.attachMedia(document.querySelector('#stage'));

CORS is open on the delivery host, so playback from your own domain works without configuration. Private channels require a signed query string, which the dashboard issues for 60 minutes at a time.

API authentication

The REST API lives at https://streamer.keyubu.link/v1 and uses bearer tokens. Create a token under Account → API tokens; a token is shown once and can be scoped to a single channel.

Making a request

curl
curl -s "https://streamer.keyubu.link/v1/channels/ch_9f2c41" \
  -H "Authorization: Bearer $STREAMER_TOKEN" \
  -H "Accept: application/json"

A successful response returns the channel object with its current state:

{
  "id": "ch_9f2c41",
  "name": "Thursday show",
  "state": "live",
  "ingest_region": "fra1",
  "viewers": 12847,
  "created_at": "2026-02-11T18:04:07Z"
}

Scopes and rotation

Tokens carry the scopes channels:read, channels:write, analytics:read and keys:rotate. Request only what an integration needs — a token without keys:rotate cannot invalidate a live ingest.

Rotate tokens every 90 days. Requests using a revoked token fail with 401 invalid_token and are logged with the token prefix, so you can trace the caller.

Rate limits

Limits are per token and reset on a rolling minute. The response includes X-RateLimit-Remaining and X-RateLimit-Reset headers.

ScopeRequests / minuteBurst
Read endpoints60060
Write endpoints12020
Key rotation102

Webhook deliveries arrive from 203.0.113.10 with an X-Streamer-Signature header: an HMAC-SHA256 of the raw body, keyed with your channel secret. Verify it before trusting the payload.

Getting help

If a broadcast is failing right now, check the status page first — planned work and active incidents are posted there within minutes. For everything else, write to support@keyubu.link with the channel id and the time window in UTC; we can pull the ingest log for that window.