-
Notifications
You must be signed in to change notification settings - Fork 208
Description
Describe the bug
Since i have upgraded to 2.0.1 version, i have noticed (reproductible) that for audio recordings, when i call String? path = await recorderController.stop(); i don't see the log that is right after and the wave is not generated like frozen.
This only happens on Android, iOS works fine with the same code.
To Reproduce
Steps to reproduce the behavior:
- Call
.recordon Android (physical device) - Record an audio for at least 30sec - 1min
- Call
.stopas above - Print / log the path output
- See that this log is never shown
Expected behavior
The method await recorderController.stop(); should complete like on version < 2.0.x on Android
Smartphone (please complete the following information):
- Device: Motorola
- OS: Android
- Version : 11
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
This is reproductible no matter the size of the recording, but i think it's easier to reproduce it when the recording is large > 30 seconds.
I have customers on my live that app that have reported they have this issue with recordings less than 5sec but not all the time. However, more than 30 seconds it's almost 100% that the .stop doesn't complete.
Note : this is not device-specific since i could reproduce it with my Motorola, but my customers have Google Pixel 7, Samsung A51 for example with various Android version (11 - 14 - 15)