element-hq / element-hq/element-call
Device Bug: Default device shown as used when re-added
- Dominant language
- TypeScript
- Stars
- 996
- Forks
- 213
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 54
Description
### Steps to reproduce
1. Set element call as using the default device as input (let's call it mic1)
2. Start a call
3. Unplug the default device
4. EC switches to using whatever the new default device is (mic2)
5. Plug the device back in
6. EC is still using mic2, but in settings says it's using, "Default device - mic1"
Reproed on Chrome
### Outcome
#### What did you expect?
It should probably change back to actually using mic1 again?
#### What happened instead?
### Operating system
_No response_
### Browser information
_No response_
### URL for webapp
_No response_
### Will you send logs?
No
Contributor guide
Research direction
Start by reproducing the device sequence in Chrome: select the default input, unplug it, let the call switch devices, and reconnect it. Trace the device-selection and settings state involved; done means the displayed device matches the microphone actually in use after the original device is reconnected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100