Skip to content
Console

rtmp_pull / httpflv_pull / hls_pull

Ingest a single live stream from RTMP, HTTP-FLV (FLV over HTTP), or HLS.

Types: rtmp_pull, httpflv_pull, hls_pull — all share the same config shape.

Terminal window
curl -X POST "https://api.avflow.dev/v1/jobs" \
-H "Authorization: Bearer ${AVFLOW_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"name": "rtmp-relay",
"sources": [{
"name": "cdn_src",
"type": "rtmp_pull",
"config": {
"url": "rtmp://origin.example.com/live/input",
"identity": "host"
}
}],
"nodes": [],
"sinks": [{
"name": "cdn_out",
"type": "rtmp_push",
"inputs": ["cdn_src"],
"config": {
"urls": ["rtmp://youtube.com/live2/xxxx"],
"encoding": { "videoCodec": "h264", "audioCodec": "aac" }
}
}]
}'
FieldTypeDefaultDescription
urlstringStream URL (RTMP, HTTP-FLV, or HLS playlist)
identitystringsource nameSpeaker label for active-speaker and ASR attribution
displayNamestringidentity / source nameHuman-readable label for overlays and captions
headersmapHTTP headers for FLV/HLS (auth, tokens)
startTimeoutMsint30000Timeout waiting for first frame (<0 = off)
stallTimeoutMsint0Abort if no new frames for N ms (0 = off)

Billed by actual video resolution × frame rate tier. Source pricing.