enableLocalAudio method Null safety
- bool enable
Enable or disable the local audio (capture and publish)
enable - true: Enable the local audio; false: disable the local audio
Implementation
Future<int> enableLocalAudio(bool enable) async {
IntValue reply = await _api.enableLocalAudio(BoolValue()..value = enable);
return reply.value ?? -1;
}