|
@@ -27,8 +27,8 @@ export async function createLocalPresenterTrack(options, desktopHeight) {
|
27
|
27
|
|
28
|
28
|
// compute the constraints of the camera track based on the resolution
|
29
|
29
|
// of the desktop screen that is being shared.
|
30
|
|
- const cameraHeights = [ 120, 180, 240, 360, 480, 600, 720 ];
|
31
|
|
- const proportion = 4;
|
|
30
|
+ const cameraHeights = [ 180, 270, 360, 540, 720 ];
|
|
31
|
+ const proportion = 5;
|
32
|
32
|
const result = cameraHeights.find(
|
33
|
33
|
height => (desktopHeight / proportion) < height);
|
34
|
34
|
const constraints = {
|