chengguo_audio_recorder_v2 0.0.2
chengguo_audio_recorder_v2: ^0.0.2 copied to clipboard

A flutter plugin for audio record.

flutter_audio_recorder_v2 #

pub package

I just updated the Kotlin version

A flutter plugin for audio record.

Note: This plugin is still under development, and some APIs might not be available yet. Feedback welcome and Pull Requests are most welcome!

Preview #


Support platform #

  • [x] Android
  • [x] iOS

Installation #

First, add chengguo_audio_recorder as a dependency in your pubspec.yaml file.


On iOS you need to add a usage description to info.plist:

<string>This sample uses the microphone to record your speech and convert it to text.</string>

Example #

  1. Start record
var path = await AudioRecorder.startRecord();
  1. Stop record
await AudioRecorder.stopRecord();
  1. Determine whether the recording
var isRecording = await AudioRecorder.isRecording();

Error code #

Error codeRemark
PERMISSION_DENIEDRequest permission is denied.
OPTIONS_ERROROptions error.