getVirtualCamStatus method

Future<bool> getVirtualCamStatus()

Gets the status of the virtualcam output.

  • Complexity Rating: 1/5
  • Latest Supported RPC Version: 1
  • Added in v5.0.0

Implementation

Future<bool> getVirtualCamStatus() async {
  final response =
      await obsWebSocket.sendRequest(Request('GetVirtualCamStatus'));

  return BooleanResponse.fromJson(response!.responseData!).enabled;
}