enableAudio method

Future<void> enableAudio(
  1. bool enableAudio
)

If the video recording should enableAudio. This method applies to the next recording. If a recording is ongoing, it will not be affected.

Implementation

// TODO Add ability to mute temporarly a video recording
Future<void> enableAudio(bool enableAudio) {
  return CamerawesomePlugin.setAudioMode(enableAudio);
}