obs_set_output_settings
Configure network-level OBS output settings by replacing the full settings object. Read existing settings first and send the entire modified object to avoid losing other keys.
Instructions
Write an output's settings. This REPLACES the settings object rather than merging into it, so read obs_get_output_settings first and send the full object with your change applied - sending one key on its own is how you lose the others.
Do not reach for this to change where the stream goes or how good it looks. The destination and stream key belong to the profile's stream service, and bitrate and encoder belong to the profile; none of them appear in an output's settings. What is here is network-level behaviour - which interface to bind, IPv4 vs IPv6, dynamic bitrate, low-latency mode. For anything about quality or destination, use obs_profile_and_collection.
Change settings while the output is stopped. A running output has already read its configuration, and a write that appears to succeed may do nothing until the next start - which reads as a broken tool when it is really a timing mistake. On a live broadcast, changing adv_stream's networking settings is not a safe experiment: verify with obs_output_status afterwards and be ready for the possibility that it takes the connection down.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputName | Yes | Exact output name from obs_list_outputs. | |
| outputSettings | Yes | The COMPLETE settings object. Start from obs_get_output_settings and modify it; omitted keys are not preserved. |