Method GetSourceFilter
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
GetSourceFilter(SourceRef, string, Guid?, CancellationToken)
Gets the info for a specific source filter.
public Task<SourceFilterResponse> GetSourceFilter(SourceRef source, string filterName, Guid? canvasUuid = null, CancellationToken cancellationToken = default)
Parameters
sourceSourceRefThe source, by name or by UUID.
filterNamestringName of 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.
Returns
- Task<SourceFilterResponse>
A SourceFilterResponse with the response data.