The Ï„ Recorder API
startRecorder()
startRecorder()
You use startRecorder() to start recording in an open session. startRecorder() has the destination file path as parameter. It has also 7 optional parameters to specify :
codec: The codec to be used. Please refer to the to know which codecs are currently supported.
toFile: a path to the file being recorded
toStream: if you want to record to a Dart Stream. Please look to . This new functionnality needs, at least, Android SDK >= 21 (23 is better)
can be useful if you want to get access to some directories on your device.
Flutter Sound does not take care of the recording permission. It is the App responsability to check or require the Recording permission. is probably useful to do that.
Example:
</div>