EC-in-EXI got stuck on the wrong audio device
Steps to reproduce
- Joined an embedded call on EC-embedded-in-EXI
- Audio starts on the phone speaker
- Put on Airpods Max bluetooth headset
- Audio correctly routes to headset; hooray.
- Plug in headset to charge on laptop
- Headset switches to laptop
- Audio routes to phone speaker on EC.
- Go to audio settings on EC, hit 'select audio device', see that Airpods Max are already selected :-/
- Tap it again and close the window
- Nothing happens.
- Go back in again, select "phone speaker" instead.
- Nothing happens.
- Go back in again, select "Airpods Max"
- ...and now the audio gets rerouted back to the Airpods correctly.
Outcome
What did you expect?
When the audio routing changed in step 7, the app apparently wasn't told about the new audio device. So it incorrectly claimed it was using the AirPods when it wasn't. Instead, it should have said it was using phone speaker, so i could have manually overridden it back again.
Alternatively, when I explicitly tapped the right selection, it should have overridden to use it, irrespective of what it thought the current reality was.
What happened instead?
App lost track of which audio device it was using, and then ignored my attempts to use the right device (until i switched device and back again).
Operating system
iOS 26
Browser information
No response
URL for webapp
No response
Will you send logs?
Yes
We would need to reproduce this and determine whether the change in effective output device is driven by the OS/user agent or by the LiveKit JS SDK. Then we might learn more about how we might get the app to react to such a change.