Add enhancement to camera
This commit is contained in:
Vendored
+2
-4
@@ -71,8 +71,6 @@ function marhunPhotoCapturerFactory(modal_selector) {
|
||||
|
||||
setMarhunPhotoInputToCapturedPhoto(blob)
|
||||
|
||||
|
||||
|
||||
}, 'image/png');
|
||||
})
|
||||
.catch((err) => {
|
||||
@@ -161,8 +159,8 @@ function marhunPhotoCapturerFactory(modal_selector) {
|
||||
function composeConstraint(camera) {
|
||||
|
||||
let constraints = {
|
||||
width: { exact: 1920 },
|
||||
height: { exact: 1080 },
|
||||
width: { exact: 3200 },
|
||||
height: { exact: 1800 },
|
||||
};
|
||||
|
||||
if (camera.deviceId !== '') {
|
||||
|
||||
Reference in New Issue
Block a user