Update an SRT Flow
Rename a stream flow or bring its endpoint online or offline.
Overview
Updates a flow. Onlylabel and active can be changed. To change a flow’s
mode, URLs, or failover setup, delete it and create a new one.
Setting active controls whether the flow’s SRT endpoint is online. Inactive
flows keep their URLs and key, so you can take an endpoint offline between
events without reconfiguring your encoders.
Errors
404- No flow with this ID belongs to your team.422- Validation error (e.g. alabelalready used by another of your team’s flows).
Related endpoints
Authorizations
The x-api-key is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.
Path Parameters
Identifier of the flow.
Body
Response
The updated flow.
Flow identifier.
caller: Camb.ai connects out to your SRT endpoint (primary_url) and re-serves it. listener: Camb.ai hosts an SRT endpoint that your encoder pushes to.
caller, listener Whether the flow's relay is currently online.
Access key embedded in the flow's URLs.
SRT URL the flow serves. Use it as source_stream.url or as a target_streams[].url, or play it directly.
SRT URLs to push into (listener mode). Empty for caller flows.
The flow's SRT encryption passphrase, when one is set.