Skip to content

Commit

Permalink
fix(camera): vue3 - Desk View Cameras added to blacklist (de, fr, it)…
Browse files Browse the repository at this point in the history
… and iPhone zoomed and ultrawide cam
  • Loading branch information
Jovan Shalamanoski authored and gruhn committed Mar 8, 2023
1 parent ebd06e3 commit 9d82b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc/camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 9d82b50

Please sign in to comment.