From 9d82b50ed602fbb5be3533002f72f9f1fc17ec3b Mon Sep 17 00:00:00 2001 From: Jovan Shalamanoski Date: Wed, 8 Mar 2023 09:47:27 +0100 Subject: [PATCH] fix(camera): vue3 - Desk View Cameras added to blacklist (de, fr, it) and iPhone zoomed and ultrawide cam --- src/misc/camera.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/camera.js b/src/misc/camera.js index 19f07941..aadab15a 100644 --- a/src/misc/camera.js +++ b/src/misc/camera.js @@ -30,7 +30,7 @@ class Camera { // media constraints don't allow us to specify which camera we want exactly. const narrowDownFacingMode = async camera => { // Filter some devices, known to be bad choices. - const deviceBlackList = ["OBS Virtual Camera", "OBS-Camera", "Desk View Camera"]; + const deviceBlackList = ["OBS Virtual Camera", "OBS-Camera", "Desk View Camera", "Schreibtischansicht-Kamera", "Caméra Desk View", "Fotocamera di Panoramica Scrivania", "Rückseitige Ultra-Weitwinkelkamera", "Rückseitige Telefotokamera"]; const devices = (await navigator.mediaDevices.enumerateDevices()) .filter(({ kind }) => kind === "videoinput")