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,
String? inputUuid,
}) async {
final response = await obsWebSocket.sendRequest(Request(
'ToggleInputMute',
requestData: {
'inputName': inputName,
'inputUuid': inputUuid,
},
));
return BooleanResponse.fromJson(response!.responseData!).enabled;
}