setInputMute method

Future<void> setInputMute({
  1. required String inputName,
  2. required bool inputMuted,
})

Sets the audio mute state of an input.

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

Implementation

Future<void> setInputMute({
  required String inputName,
  required bool inputMuted,
}) async =>
    await obsWebSocket.sendRequest(Request(
      'SetInputMute',
      requestData: {
        'inputName': inputName,
        'inputMuted': inputMuted,
      },
    ));