Skip to content
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

Windows app is getting closed when I start recording. #473

Open
SatishGD9 opened this issue Feb 21, 2025 · 3 comments
Open

Windows app is getting closed when I start recording. #473

SatishGD9 opened this issue Feb 21, 2025 · 3 comments

Comments

@SatishGD9
Copy link

5.0.0

Environment

  • OS: Windows

Windows app is getting closed when ever I start recording

I created an instance using AudioRecorder recorder and when I called recorder.start(); then the app got closed in windows

RecordConfig config = const RecordConfig(
encoder: AudioEncoder.wav,
numChannels: 1,
bitRate: 8000,
);

To Reproduce

Steps to reproduce the behavior:
When ever I do recorder.start() this is happening.

@llfbandit
Copy link
Owner

Thanks for reporting, please confirm this with latest version, 5.2.1.
Older versions are not supported.

Also, try with default bitRate value, 8000 seems very low.

@SatishGD9
Copy link
Author

Since my dart version is 3.3 and 5.2.1 required 3.4 I went with recorder version of 5.2.0 and kept bitRate to default. Still it fails, application got closed when I performed recorder.start();

@llfbandit
Copy link
Owner

llfbandit commented Feb 21, 2025

Does it fail with any encoder?
Are you on Windows 10 or 11?
Trying to reproduce this with Visual Studio could help to get error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants