Update Stream
update_streamPartially update a stream (PATCH semantics — only provided fields change). Same fields as create_stream except type (creation-only). Mirrors PATCH /api/v1/streams/{stream}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Stream key. custom, instagram or rumble: must start rtmp:// or rtmps://; customsrt: srt://. | |
| url | No | Ingest URL override, or null to clear it. | |
| name | No | Stream name, max 100 chars. | |
| tags | No | Tag names to attach (replaces the existing set; missing names are created). | |
| stream | Yes | Stream UUID. | |
| volumes | No | Volumes 0-100: main, secondary, video. | |
| encoding | No | Encoding settings: resolution, frame_rate, bitrate, audio_bitrate (128-328). | |
| platform | No | Target platform, e.g. youtube, twitch, kick, custom, customsrt. | |
| playback | No | Playback: mode (loop|single), video_order (loop|shuffle), audio_order (loop|shuffle), default_image_duration (1-3600s). | |
| schedule | No | Schedule: is_scheduled/scheduled_at (start), is_scheduled_end/scheduled_end_at (end), repeat_schedule (boolean), mode (null|continuous), continuous_start_type (now|scheduled), continuous_stop_type (never|scheduled), continuous_stop_at, stream_duration_hours/stream_duration_minutes and break_duration_hours/break_duration_minutes (continuous mode active/break time per cycle, each combo >=5min), preserve_state (resume playback after a continuous-mode cycle restart; cannot change while the stream is live). | |
| recording | No | Recording: enabled (boolean). | |
| video_fit | No | Video fit: object_fit (cover|contain), style, background_color. | |
| description | No | Description, or null to clear it. | |
| transitions | No | Transitions: fade_duration (0-20), animation_type (random|fade|slide|scale|swipeAway), animation_duration (0-20). |