🐛(frontend) handle device-in-use errors on Chrome / Windows 10

On Chrome and Windows 10, when the camera or microphone is already
in use by another application, the browser rejects
`getUserMedia`. Without dedicated handling, users just saw their
camera or microphone not turning on, without any explanation.

Detect this specific failure and surface a clear message to the
user, so they understand another application is holding the device
and know what to do about it.
This commit is contained in:
lebaudantoine
2026-08-21 18:11:49 +02:00
committed by aleb_the_flash
parent e5f0b1c202
commit d723c14d84
17 changed files with 338 additions and 120 deletions
@@ -137,6 +137,7 @@ export const captureMediaEvent = async (
| 'media-device-topology'
| 'media-device-success'
| 'device-not-found'
| 'device-in-use'
| 'permissions-denied'
| 'screen-share-permission-denied'
| 'silent-mic-detected'