toggleVirtualCam method
Toggles the state of the virtualcam output.
- Complexity Rating: 1/5
- Latest Supported RPC Version: 1
- Added in v5.0.0
Implementation
Future<bool> toggleVirtualCam() async {
final response =
await obsWebSocket.sendRequest(Request('ToggleVirtualCam'));
return BooleanResponse.fromJson(response!.responseData!).enabled;
}