srt_pull
Ingest MPEG-TS over the SRT protocol.
Example
Section titled “Example”curl -X POST "https://api.avflow.dev/v1/jobs" \ -H "Authorization: Bearer ${AVFLOW_API_KEY}" \ -H "Content-Type: application/json" \ -d '{ "name": "srt-ingest", "sources": [{ "name": "srt_src", "type": "srt_pull", "config": { "url": "srt://ingest.example.com:9000", "streamId": "publish:/live/main", "passphrase": "<optional>", "latencyMs": 200 } }], "nodes": [], "sinks": [{ "name": "rtmp_out", "type": "rtmp_push", "inputs": ["srt_src"], "config": { "urls": ["rtmp://live.example.com/app/key"] } }] }'Config
Section titled “Config”| Field | Type | Default | Description |
|---|---|---|---|
url | string | — | srt://host:port/… |
streamId | string | — | SRT stream ID (overrides query param) |
passphrase | string | — | Encryption passphrase (10–79 chars) |
latencyMs | int | 200 | SRT latency buffer |
identity | string | source name | Speaker label |
reconnect | bool | true | Reconnect on disconnect |
reconnectMaxRetries | int | 10 | Max retries |
reconnectIntervalMs | int | 3000 | Retry interval |
Pricing
Section titled “Pricing”Video tier by actual resolution. Source pricing.