diff --git a/web/lukegbcom/pages/tools/ee-qrcode.js b/web/lukegbcom/pages/tools/ee-qrcode.js index 1db0e91568..28926d1c8f 100644 --- a/web/lukegbcom/pages/tools/ee-qrcode.js +++ b/web/lukegbcom/pages/tools/ee-qrcode.js @@ -18,7 +18,7 @@ async function startCapture(video, canvas, captureType) { if (captureType === 'screen') captureStream = await navigator.mediaDevices.getDisplayMedia({ audio: false, video: true }) else - captureStream = await navigator.mediaDevices.getUserMedia({ audio: false, video: true }) + captureStream = await navigator.mediaDevices.getUserMedia({ audio: false, video: { facingMode: 'environment' } }) } catch (e) { alert(`Failed to start screen capture: ${e}`) return