Method SetInputSettings
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetInputSettings(InputRef, Dictionary<string, object>, bool?, CancellationToken)
Sets the settings of an input.
public Task SetInputSettings(InputRef input, Dictionary<string, object> inputSettings, bool? overlay = null, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input to set the settings of, by name or by UUID.
inputSettingsDictionary<string, object>Object of settings to apply.
overlaybool?True == apply the settings on top of existing ones, False == reset the input to its defaults, then apply settings. If omitted: true.
cancellationTokenCancellationTokenA token that ends the wait for the response, which makes the method throw an OperationCanceledException. A request that was already sent is not undone: OBS Studio may still carry it out.