You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is super weird and took me a lot of time until figure it out, that the problem is the sample rate.
Bellow code is OK on android, while on iOS is changing states but not recording audio(duration remains 0) _recorder = FlutterAudioRecorder(filePath, audioFormat: AudioFormat.AAC, sampleRate: 22000);
This simple change made the package to work on both platforms. I guess iOS does not support all sample rates? _recorder = FlutterAudioRecorder(customPath, audioFormat: AudioFormat.AAC);
The text was updated successfully, but these errors were encountered:
First thanks for this great package!
It is super weird and took me a lot of time until figure it out, that the problem is the sample rate.
Bellow code is OK on android, while on iOS is changing states but not recording audio(duration remains 0)
_recorder = FlutterAudioRecorder(filePath, audioFormat: AudioFormat.AAC, sampleRate: 22000);
This simple change made the package to work on both platforms. I guess iOS does not support all sample rates?
_recorder = FlutterAudioRecorder(customPath, audioFormat: AudioFormat.AAC);
The text was updated successfully, but these errors were encountered: