Skip to content
Console

segment

Record HLS (.ts segments + playlist) to S3, GCS, Azure, R2, or local disk.

{
"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 }
}
}
FieldDefaultDescription
storageTypes3, gcp, azure, or local
storageConfigProvider credentials and path
formathlsOutput format
segmentDurationSecSegment length (1–60s)
maxPlaylistEntriesLive sliding window size
encodingH.264 + AAC recommended
captionShowSpeakertrueInclude speaker name in WebVTT

Must connect to a single mixed stream — use video_mixer + audio_mixer for RTC rooms.

Wire asr into inputs for subtitle renditions.

storageTypeKey fields
s3bucket, region, accessKeyId, secretAccessKey, prefix, filename
gcpbucket, credentials, prefix, filename
azurecontainer, accountName, accountKey or sasToken
localbaseDir

Output tier by encoded resolution. Sink pricing.