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
I start recording, it records audio for about 3 seconds, and then stops recording. I've logged the bytes coming into .listen when I do .startStream and them seem normal for a few seconds and then it's just all 0's.
Record configuration: I can see this behavior with the example/ subdirectory in the repo. const encoder = AudioEncoder.aacLc; const config = RecordConfig(encoder: encoder, numChannels: 1);
But I've also observed this with pcm16.
To Reproduce
Steps to reproduce the behavior:
Create and start an Android emulator from Android Studio.
Select the 'Virtual Microphone uses Host Audio Input' setting inside the emulator.
Thanks for reporting.
Obviously, device emulator is not supported :)
I've already encountered issues with such a setup, sometimes with a specific version of the emulator.
Conclusion, never use the emulator for such experiment/testing.
Package version
Environment
Describe the bug
I start recording, it records audio for about 3 seconds, and then stops recording. I've logged the bytes coming into
.listen
when I do.startStream
and them seem normal for a few seconds and then it's just all 0's.Record configuration: I can see this behavior with the
example/
subdirectory in the repo.const encoder = AudioEncoder.aacLc; const config = RecordConfig(encoder: encoder, numChannels: 1);
But I've also observed this with pcm16.
To Reproduce
Steps to reproduce the behavior:
cd record/example
within the repo.flutter run
https://www.loom.com/share/e175f08e5cd240c2ac384efc1c7405fc?sid=b70b83f7-829a-4c24-aa19-4dc73432d69e
Expected behavior
Recording to continue for a longer duration.
Additional context
I'm sure this could be something unique to my machine/setup but I wanted to at least document it here in case somebody else is running into this.
The text was updated successfully, but these errors were encountered: