startRecorder method

  1. @override
Future<void> startRecorder(
  1. FlutterSoundRecorderCallback callback, {
  2. String? path,
  3. int? sampleRate,
  4. int? numChannels,
  5. int? bitRate,
  6. Codec? codec,
  7. bool? toStream,
  8. AudioSource? audioSource,
})
override

Implementation

@override
Future<void> startRecorder(FlutterSoundRecorderCallback callback,
    {
            String? path,
            int? sampleRate,
            int? numChannels,
            int? bitRate,
            Codec? codec,
            bool? toStream,
            AudioSource? audioSource,
    }) async
{
        getWebSession(callback)!.startRecorder(path, sampleRate, numChannels, bitRate, codec!.index, toStream, audioSource!.index,);
}