getInputMute method

Future<bool> getInputMute(
  1. String inputName
)

Gets the audio mute state of an input.

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

Implementation

Future<bool> getInputMute(String inputName) async {
  final response = await obsWebSocket.sendRequest(
    Request('GetInputMute', requestData: {'inputName': inputName}),
  );

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