bild nicht so groß, dauert schon ewig
This commit is contained in:
parent
6158c9d9e0
commit
4c28cf50bf
@ -112,7 +112,7 @@
|
|||||||
const CAMERA_STORAGE_KEY = 'photobox_camera_id';
|
const CAMERA_STORAGE_KEY = 'photobox_camera_id';
|
||||||
|
|
||||||
function videoConstraints(deviceId) {
|
function videoConstraints(deviceId) {
|
||||||
const base = { width: { ideal: 4096 }, height: { ideal: 2160 } };
|
const base = { width: { ideal: 2048 }, height: { ideal: 1080 } };
|
||||||
return deviceId ? { ...base, deviceId: { exact: deviceId } } : base;
|
return deviceId ? { ...base, deviceId: { exact: deviceId } } : base;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user