From 9fcc4b7ee18bc8e3e01627bc2db21634720063c3 Mon Sep 17 00:00:00 2001 From: Victor Winberg Date: Sun, 18 Aug 2024 21:43:50 +0200 Subject: [PATCH] device id --- client/src/components/QRScanner.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/components/QRScanner.vue b/client/src/components/QRScanner.vue index d4463322..e772643a 100644 --- a/client/src/components/QRScanner.vue +++ b/client/src/components/QRScanner.vue @@ -69,6 +69,7 @@ export default Vue.extend({ const stream = await navigator.mediaDevices.getUserMedia({ audio: false, video: { + deviceId: "755A2BC07E2D6465D7B5E90BD152774DAC384FEE", facingMode: { ideal: "environment" }, aspectRatio: { ideal: 1.7777777778 }, frameRate: { ideal: 60, min: 30 },