Method ToggleStream
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
ToggleStream(CancellationToken)
Toggles the status of the stream output.
public Task<bool> ToggleStream(CancellationToken cancellationToken = default)
Parameters
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.