mirror of
https://github.com/suitenumerique/meet.git
synced 2026-09-03 22:25:27 +00:00
🐛(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:
committed by
aleb_the_flash
parent
e5f0b1c202
commit
d723c14d84
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user