toggleInputMute method
Toggles the audio mute state of an input.
- Complexity Rating: 2/5
- Latest Supported RPC Version: 1
- Added in v5.0.0
Implementation
Future<bool> toggleInputMute(String inputName) async {
final response = await obsWebSocket.sendRequest(Request(
'ToggleInputMute',
requestData: {'inputName': inputName},
));
return BooleanResponse.fromJson(response!.responseData!).enabled;
}