Skip to content

Commit

Permalink
device id
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorWinberg committed Aug 18, 2024
1 parent 4324707 commit 9fcc4b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/components/QRScanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 9fcc4b7

Please sign in to comment.