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
Android version(s): 10 QKQ1.190910.002
Android device(s): Xiaomi Redmi Note 7
Oboe version: 1.4.2
App name used for testing: custom example
Short description
Recently I've upgraded my phone to Android 10 and started experiencing the following bug:
Open playback stream with device ID of a Bluetooth headset.
Start playback. It goes to headset.
Stop and close stream.
Repeat exactly the same several times. All stream parameters and device ID are the same.
After repeating one or a few times, playback now goes to internal earphones!
Further restarts change nothing, playback still goes to the wrong place.
How to reproduce
I can reproduce the bug using the example which I've shared earlier (oboe-example repo) in another issue: #953
I've pushed a new commit that just adds beeping. Now you can connect BT headset and wait until it starts producing beep, and then press STOP-START several times. After one or a few restarts, you'll hear that beeping now goes from internal earphones instead of headset. You can check in the logs that device ID (and other parameters) are still the same.
Workarounds
So far I've found two workarounds:
restart the app
OR, first open stream with another device ID, close it, and then open with desired device ID; playback will now go to the right place
Just in case: I also tried to reset WiFi & Bluetooth settings of the phone. It didn't help.
There have been a number of bugs similar to this involving BT routing. The bug is in Q so it may have been fixed already.
It seems like a duplicate of this bug:
b/142293357 | Device show playing media to my Bluetooth headphones, but actually to speaker
This routing issue is below the level of Oboe and routing issues are hard to workaround. So there is not much we can do in Oboe.
Android version(s): 10 QKQ1.190910.002
Android device(s): Xiaomi Redmi Note 7
Oboe version: 1.4.2
App name used for testing: custom example
Short description
Recently I've upgraded my phone to Android 10 and started experiencing the following bug:
How to reproduce
I can reproduce the bug using the example which I've shared earlier (
oboe-example
repo) in another issue: #953I've pushed a new commit that just adds beeping. Now you can connect BT headset and wait until it starts producing beep, and then press STOP-START several times. After one or a few restarts, you'll hear that beeping now goes from internal earphones instead of headset. You can check in the logs that device ID (and other parameters) are still the same.
Workarounds
So far I've found two workarounds:
Just in case: I also tried to reset WiFi & Bluetooth settings of the phone. It didn't help.
Device
The text was updated successfully, but these errors were encountered: