- Home /
Audio doesn't re-route to bluetooth earphone
I am facing a problem with audio. Every time when Bluetooth headset/earphone is disconnected from the app, background music in the app stops playing. It is supposed to re-route to the phone speaker. Is there any workaround for this?
I figured that when connecting or disconnecting Bluetooth, the app loses audio focus. I need help to regain focus and resume audio. Does anyone know how to regain focus in the unity app?
Target Platform: Android Unity Version: 2019.4.20f1
Answer by JDChristo · Sep 09, 2021 at 01:16 PM
After checking documentation related to UnityEngine.AudioModule, I found a workaround by resetting Unity's AudioSettings.
Your answer
Follow this Question
Related Questions
Strategies for Bluetooth multiplay 0 Answers
Send realtime data via android to a unity based PC game 2 Answers
Using Unity to establish a bluetooth connection with an Arduino? iOS 1 Answer
How to Read Data from a Bluetooth Device with a Windows Store App 3 Answers
When to drop support for older versions of Unity with my asset store plugin 0 Answers