Update ScreenSharePicker.tsx
This commit is contained in:
parent
13f220abf4
commit
0f91964fb2
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ function ModalComponent({
|
||||||
|
|
||||||
const constraints = {
|
const constraints = {
|
||||||
...track.getConstraints(),
|
...track.getConstraints(),
|
||||||
frameRate,
|
frameRate: { min: frameRate, ideal: frameRate },
|
||||||
width: { min: 640, ideal: width, max: width },
|
width: { min: 640, ideal: width, max: width },
|
||||||
height: { min: 480, ideal: height, max: height },
|
height: { min: 480, ideal: height, max: height },
|
||||||
advanced: [{ width: width, height: height }],
|
advanced: [{ width: width, height: height }],
|
||||||
|
|
Reference in a new issue