Playback: run locally¶
Manages live streaming channels and their origin configurations. Channels reference Castis Streamer nodes registered in the Distribution domain — each origin handles its own ingest and transcoding independently.
Running¶
- Clone all required repositories and install — follow Installation
cd Quickstart-
Log in to the internal registry:
-
make playout-d -
Test with an access token and a workspace ID (see Auth, Identity & RBAC for getting a token):
curl -H "Authorization: Bearer <ACCESS_TOKEN>" \ http://localhost:3000/api/v1/playback/<WORKSPACE_ID>/channelsEvery playback route is under
/playback/<WORKSPACE_ID>/. Without a valid token the call returns401.
Required services¶
Playback depends on the CDN stack — Streamer nodes must exist in the database before you can create a channel with an origin. These are seeded automatically on startup.
| Service | Role |
|---|---|
streamer_bkk, streamer_ntb |
Castis Streamer nodes — ingest and transcode live streams, serve HLS/DASH |
cproxy_bkk_1 |
Edge cache proxy — sits in front of streamers |
elb_bkk |
Server load balancer — distributes traffic across cproxy nodes |
colorbars |
ffmpeg UDP broadcaster — generates test streams for channel testing |
All CDN services are included in the LITE + cdn.yml infra group, which make playout uses.