Update a Stream
Update a stream’s configuration or apply live adjustments, including turning dubbing on and off, without recreating it.
Overview
Partially updates an existing stream. Send only the fields you want to change. Updates are allowed while the stream is scheduled, setting up, or started. There are two kinds of changes:- Configuration updates - rescheduling, replacing voices or dictionaries, and adding or modifying audio selections, profiles, pipelines, and targets. These are persisted into the stream configuration.
- Live pipeline patches (
pipeline_patches) - runtime-only adjustments to a running stream: turn dubbing on or off, adjust the dubbing mix, or nudge audio/video sync. These take effect within seconds and are not persisted.
ids (audio_selections, processing_profiles,
encoding_profiles, pipelines, target_streams) are merged by id:
entries you send are added or replaced as a whole, and existing entries are
never removed.Turning dubbing on and off
Setdubbing_enabled on a pipeline patch. With false, dubbing pauses and
the original audio passes through; with true, dubbing resumes.
Common updates
Errors
400- The stream has already finished and can no longer be updated.404- No stream with this ID belongs to your team.422- Validation error: unknownpipeline_id, anidreference that doesn’t resolve, or times without a matchingtimezone.
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 stream to update.
Body
Partial update of a stream. All fields are optional; omit anything you do not want to change. List fields carrying ids (audio_selections, processing_profiles, encoding_profiles, pipelines, target_streams) are merged by id: entries you send are added or replaced, existing entries are never removed.
New display name.
New description.
New setup lead time in seconds.
x > 0Replacement list of voice IDs. Empty means voices are cloned from the source speakers.
Replacement list of dictionary IDs (up to 5).
5New scheduled start (ISO 8601 with UTC offset). Requires timezone.
New scheduled end (ISO 8601 with UTC offset). Requires timezone.
IANA time zone the updated times are expressed in.
Audio selections to add or replace (merged by id).
Processing profiles to add or replace (merged by id).
Encoding profiles to add or replace (merged by id).
Pipelines to add or replace (merged by id).
Replacement source configuration.
Target streams to add or replace (merged by id).
Live, runtime-only adjustments to running pipelines: toggle dubbing, adjust the mix, or nudge A/V sync. Applied immediately and not persisted into the stream configuration.
Response
Successful Response
The response is of type Response Patch Stream Data Stream Stream Id Patch · object.