-
Notifications
You must be signed in to change notification settings - Fork 592
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
[BUG]: Crash when recording while using Bluetooth headphones (iOS) #880
Comments
Seems to be an error in
|
Do we think this could be related? https://stackoverflow.com/questions/53351976/changing-audio-input-source-with-avaudiosession-causes-crash We do have code that sets audio configs to allow bluetooth and default to speaker. This is set before a user records anything.
|
Hi Erica. |
Thank you @Larpoux ! I appreciate your speed on this issue 🙏🏼 |
@ericadu , |
It no longer crashes -- exciting! Thank you so much However, it looks like perhaps the underlying issue is that I'm not recording anything when using Bluetooth. Are you seeing this as well?
|
Update! Tried with another Bluetooth headset and it works great. Was just that individual headset. Thanks again @Larpoux for such a speedy fix -- greatly appreciate it! |
👍 |
@Larpoux I'm seeing crashes in prod in the audio player now (play from stream) and I'm wondering if it's related. I'm seeing this in my local dev:
and also seeing this in the crash stack:
|
What is the sample rate that you specified? |
Here is the exact call:
Using defaults for the others, so
|
Ok, after some more investigation, I believe there is still an issue related to recording with Bluetooth, but different from this thread. Will file a different issue here and in Thanks! |
Flutter Sound Version :
FULL or LITE flavor ? Full
Important: Result of the command :
flutter pub deps | grep flutter_sound
Severity
**[ x ] CRASH **
Result is not what expected ?
Cannot build my App ?
Minor issue ?
Platforms you faced the error
**[ x ] iOS **
Android ?
Flutter Web ?
Emulator ?
**[ x ] REAL DEVICE **
Describe the bug
A clear and concise description of what the bug is.
We record audio when a user taps a microphone button. However, when a user is connected to a bluetooth speaker, the app crashes after they tap the microphone.
To Reproduce
Steps to reproduce the behavior:
FlutterRecorder
session recording to streamLogs!!!!
(This is very important. Most of the time we cannot do anything if we do not have information on your bug).
To activate the logs, you must instantiate your modules with the Log Level set to
Level.debug
:See this
The text was updated successfully, but these errors were encountered: