Resize marhun photo to 1280x720 px

This commit is contained in:
afiq.hamzah
2022-12-04 14:53:11 +08:00
parent 32dd54c707
commit 921669fc4f
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -3,7 +3,13 @@ function marhunPhotoCapturerFactory(modal_selector) {
return {
constraints: { "video": { width: { exact: 1080 } } },
constraints: {
audio: false,
video: {
height: { ideal: 1080 }
},
facingMode: { exact: "environment" },
},
imageCapturer: null,