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"] }
}]
}'
FieldTypeDefaultDescription
urlstringStream URL (RTMP, HTTP-FLV, or HLS playlist)
identitystringsource nameSpeaker label for active-speaker and ASR attribution
headersmapHTTP headers for FLV/HLS (auth, tokens)
reconnectbooltrueReconnect on disconnect
reconnectMaxRetriesint10Max reconnect attempts
reconnectIntervalMsint3000Delay between retries

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