segment
Record HLS (.ts segments + playlist) to S3, GCS, Azure, R2, or local disk.
Example
Section titled “Example”{ "name": "hls_rec", "type": "segment", "inputs": ["mix_video", "mix_audio"], "config": { "storageType": "s3", "storageConfig": { "bucket": "my-recordings", "region": "us-east-1", "accessKeyId": "<key>", "secretAccessKey": "<secret>", "prefix": "shows/2026-06-10/", "filename": "composite" }, "segmentDurationSec": 6, "encoding": { "videoCodec": "h264", "maxFps": 30 } }}Config
Section titled “Config”| Field | Default | Description |
|---|---|---|
storageType | — | s3, gcp, azure, or local |
storageConfig | — | Provider credentials and path |
format | hls | Output format |
segmentDurationSec | — | Segment length (1–60s) |
maxPlaylistEntries | — | Live sliding window size |
encoding | — | H.264 + AAC recommended |
captionShowSpeaker | true | Include speaker name in WebVTT |
Wiring
Section titled “Wiring”Must connect to a single mixed stream — use video_mixer + audio_mixer for RTC rooms.
Wire asr into inputs for subtitle renditions.
Storage config
Section titled “Storage config”storageType | Key fields |
|---|---|
s3 | bucket, region, accessKeyId, secretAccessKey, prefix, filename |
gcp | bucket, credentials, prefix, filename |
azure | container, accountName, accountKey or sasToken |
local | baseDir |
Pricing
Section titled “Pricing”Output tier by encoded resolution. Sink pricing.