Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(presenter): go back to using standard resolutions for presenter

Jaya Allamsetty8dbd1ba1b77a
diff --git a/react/features/base/tracks/functions.js b/react/features/base/tracks/functions.js
index fcfdf2eab9..0810da23c7 100644
--- a/react/features/base/tracks/functions.js
+++ b/react/features/base/tracks/functions.js
@@ -27,8 +27,8 @@ export async function createLocalPresenterTrack(options, desktopHeight) {
// compute the constraints of the camera track based on the resolution
// of the desktop screen that is being shared.
- const cameraHeights = [ 120, 180, 240, 360, 480, 600, 720 ];
- const proportion = 4;
+ const cameraHeights = [ 180, 270, 360, 540, 720 ];
+ const proportion = 5;
const result = cameraHeights.find(
height => (desktopHeight / proportion) < height);
const constraints = {