loonix / another_audio_recorder

(Null-Safe + V2) Audio Record Plugin that supports record, pause, resume, stop, and provide access to audio level metering properties average power peak power.
https://pub.dev/packages/another_audio_recorder
MIT License
5 stars 8 forks source link

Improve error handling for audio recording failures #10

Closed Sathush3 closed 3 months ago

Sathush3 commented 7 months ago

This pull request introduces minor yet impactful enhancements to the error handling mechanisms in the AACRecordThread class, ensuring more robust audio recording operations. These changes are designed to address issue #6, enhancing the stability and reliability of the recording process.

Key Changes:

Impact:

These changes will make the audio recording feature more resilient to errors and failures, improving the user experience by increasing the stability of the app. The additional logs will facilitate easier maintenance and support for future development.

Resolves: #6

loonix commented 7 months ago

does the demo run well?

Sathush3 commented 7 months ago

Yes, the demo works fine and mostly the fatal crash occurs when package used in other projects and I have tested that scenario as well