Method SetSourceFilterName
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetSourceFilterName(SourceRef, string, string, Guid?, CancellationToken)
Sets the name of a source filter (rename).
public Task SetSourceFilterName(SourceRef source, string filterName, string newFilterName, Guid? canvasUuid = null, CancellationToken cancellationToken = default)
Parameters
sourceSourceRefThe source the filter is on, by name or by UUID.
filterNamestringCurrent name of the filter.
newFilterNamestringNew name for the filter.
canvasUuidGuid?UUID of the canvas the source is in, if the source is given by name.
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.