Method SetInputName
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetInputName(InputRef, string, CancellationToken)
Sets the name of an input (rename).
public Task SetInputName(InputRef input, string newInputName, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input, by name or by UUID.
newInputNamestringNew name for the input.
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.