Describe the bug
During an audio call, the audio device list initially shows Microphone and Speaker, which is correct.
When a Bluetooth device is connected, the audio route switches to Bluetooth, and the selected device is correctly updated based on the LiveKit SDK.
However, after connecting a wired headset, the audio route switches to the wired headset, but the selected device still shows Bluetooth. This mismatch is the issue.
To Reproduce
Steps to reproduce the behavior:
1.Start an active call
2.Connect a Bluetooth device and verify the audio routing and selected device
3.Connect a wired headset and verify the audio routing and selected device (repeat one or more times if needed, e.g., on a OnePlus device)
4.Observe the issue
Expected behavior
The selected device should always reflect the actual audio route (i.e., it should show the wired headset when audio is routed to it).
Screenshots
Device Info:
Describe the bug
During an audio call, the audio device list initially shows Microphone and Speaker, which is correct.
When a Bluetooth device is connected, the audio route switches to Bluetooth, and the selected device is correctly updated based on the LiveKit SDK.
However, after connecting a wired headset, the audio route switches to the wired headset, but the selected device still shows Bluetooth. This mismatch is the issue.
To Reproduce
Steps to reproduce the behavior:
1.Start an active call
2.Connect a Bluetooth device and verify the audio routing and selected device
3.Connect a wired headset and verify the audio routing and selected device (repeat one or more times if needed, e.g., on a OnePlus device)
4.Observe the issue
Expected behavior
The selected device should always reflect the actual audio route (i.e., it should show the wired headset when audio is routed to it).
Screenshots
Device Info: