-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android crash : Fatal Exception: android.media.MediaCodec$CodecException : onInputBufferAvailable(WaveformExtractor.kt:72) #376
Comments
I have new phones to add, i thought it was device specific but no unfortunately :
It causes so far 20+ crashes, much less than #375 which has more than 100 crashes in my app so far |
Hello @Tom3652, Could you please specify the types of files users are allowed to pick or the format in which audio is being recorded for android users? I believe this information will help in further investigating the crash. |
Hello @manoj-simform , yes sure here is the code for the recorder and it's saved as an recorderController = RecorderController()
..androidEncoder = AndroidEncoder.aac
..androidOutputFormat = AndroidOutputFormat.mpeg4
..iosEncoder = IosEncoder.kAudioFormatMPEG4AAC
..sampleRate = 44100
..bitRate = 48000;
String outputPath = "${dir!.path}/${DateTime.now().millisecondsSinceEpoch}.mp4";
recorderController?.reset();
await recorderController?.record(path: outputPath); After that, we upload that When they read the file, it's from the server URL so we download it first locally as |
hi @manoj-simform, do you have any lead on this crash ? |
Describe the bug
I have got another crash different from #375 also from my live Android users :
To Reproduce
I am not able to reproduce it on my end, i have never encountered it and don't know how my users got it unfortunately..
Expected behavior
The app should not crash
Smartphone (please complete the following information):
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: