Method GetInputSettings
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
GetInputSettings(InputRef, CancellationToken)
Gets the settings of an input.
public Task<InputSettingsResponse> GetInputSettings(InputRef input, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input to get the settings of, by name or by UUID.
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.
Returns
- Task<InputSettingsResponse>
A InputSettingsResponse with the response data.
Remarks
Note: Does not include defaults. To create the entire settings object, overlay inputSettings over the defaultInputSettings provided by GetInputDefaultSettings.