Table of Contents

Method ToggleVirtualCam

Namespace
OBSStudioClient
Assembly
OBSClient.dll

ToggleVirtualCam(CancellationToken)

Toggles the state of the virtualcam output.

public Task<bool> ToggleVirtualCam(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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<bool>

Whether the output is active.