Table of Contents

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

input InputRef

The input to set the settings of, by name or by UUID.

inputSettings Dictionary<string, object>

Object of settings to apply.

overlay bool?

True == apply the settings on top of existing ones, False == reset the input to its defaults, then apply settings. If omitted: true.

cancellationToken CancellationToken

A 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.

Returns

Task