Streams client constructed with baseUrl/apiKey/orgId.
Recipe 1 — Go live from the browser, watch with a signed URL
This is a complete “create input → publish a webcam → watch” loop. It runs entirely in the browser with the SDK’s MoQT publisher and viewer.1
Create a live input
2
Publish a webcam over MoQT
3
Mint a signed playback URL for viewers
4
Play it into a <video>
5
Tear down
Recipe 2 — RTMP event to thousands of viewers
A hardware/OBS encoder contributes over RTMP. The engine transcodes and fans the stream out to every viewer over MoQT. The control plane mints per-viewer signed URLs.1
Provision the input and rotate a fresh key
2
Point the encoder at the RTMP endpoint
.catalog track.3
Issue a signed URL per viewer (server side)
4
Each browser plays the URL
The relay mesh fans out each group. Thus the encoder uploads once,
whatever number of viewers attach. Fan-out cost lives at the edge POPs, not
on the contribution link.
Recipe 3 — TUS2 upload to VOD playback
Upload a recorded file with resumable chunks. Let the engine package it to CMAF. Then play the resulting asset from the same viewer that the live path uses.1
Start a resumable upload
2
Upload in resumable chunks
3
Wait for packaging, then play the asset
On completion the engine packages the file to CMAF/fMP4 and assigns a
playback id (
pb_…). The same viewer plays VOD over HTTPS from the
catalog:
