added missing fields to constraints
This commit is contained in:
parent
b68e4d1268
commit
31907d9ba1
2 changed files with 6 additions and 0 deletions
|
@ -452,6 +452,8 @@ function ModalComponent({
|
|||
const newConstraints = {
|
||||
...constraints,
|
||||
frameRate,
|
||||
width,
|
||||
height,
|
||||
advanced: [{ width: width, height: height }],
|
||||
resizeMode: "none"
|
||||
};
|
||||
|
@ -488,6 +490,8 @@ function ModalComponent({
|
|||
const newConstraints = {
|
||||
...constraints,
|
||||
frameRate,
|
||||
width,
|
||||
height,
|
||||
advanced: [{ width: width, height: height }],
|
||||
resizeMode: "none"
|
||||
};
|
||||
|
|
|
@ -34,6 +34,8 @@ if (isLinux) {
|
|||
const newConstraints = {
|
||||
...constraints,
|
||||
frameRate,
|
||||
width,
|
||||
height,
|
||||
advanced: [{ width: width, height: height }],
|
||||
resizeMode: "none"
|
||||
};
|
||||
|
|
Reference in a new issue