Closed
Description
Package version
5.0.1
Environment
Windows
Describe the bug
I get the Lost connection to device message when I call the start method on an instance of audio recorder
I used the default RecordConfig().
Here is the code
The widget built in the runapp method
@override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: Container( child: ElevatedButton( child: Container( color: Colors.black, ), onPressed: () => SST().run(), ), ), ), ); }
The SST run method
`Future run() async {
var record = AudioRecorder();
await record.start(const RecordConfig(), path: path);
await Future.delayed(const Duration(seconds: 1));
await record.stop();
print("Prova");
}`
Metadata
Metadata
Assignees
Labels
No labels