fix: specify framerate in constraints (#703)

This commit is contained in:
kittykel
2024-07-04 09:04:57 -07:00
committed by GitHub
parent 05014f747a
commit ec3d83f7ca
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ if (isLinux) {
const constraints = {
...track.getConstraints(),
frameRate,
frameRate: { min: frameRate, ideal: frameRate },
width: { min: 640, ideal: width, max: width },
height: { min: 480, ideal: height, max: height },
advanced: [{ width: width, height: height }],