startRecorder method
Future<void>
startRecorder(
- FlutterSoundRecorderCallback callback, {
- String? path,
- int? sampleRate,
- int? numChannels,
- int? bitRate,
- Codec? codec,
- bool? toStream,
- 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,);
}