mirror of
https://github.com/vector-im/element-web.git
synced 2026-04-18 03:52:39 +02:00
Voice messages were being recorded using the system default microphone instead of the device selected in Element settings. This was fixed by ensuring the preferred deviceId is correctly passed to the MediaStream constraints in VoiceRecording.ts. Added unit tests in VoiceRecording-test.ts to verify that the application correctly requests the user-selected device. Co-authored-by: Will Hunt <2072976+Half-Shot@users.noreply.github.com>