Update ScreenSharePicker.tsx

This commit is contained in:
kittykel 2024-06-28 23:59:18 -07:00 committed by GitHub
parent 13f220abf4
commit 0f91964fb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }],