sendAudio method
Enables or disables audio transfer from microphone into the call.
enable
- True if audio should be sent, false otherwise
Implementation
Future<void> sendAudio(bool enable) async {
try {
await _channel.invokeMethod<void>('Call.sendAudioForCall',
<String, dynamic>{'callId': _callId, 'enable': enable});
} on PlatformException catch (e) {
throw VIException(e.code, e.message);
}
}