From dededfbe311d3bc9bc90cfc6b29a78de5e10139b Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Fri, 10 Jan 2025 18:40:33 -0300 Subject: [PATCH] Update --- plugin/Live/WebRTC/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/Live/WebRTC/api.js b/plugin/Live/WebRTC/api.js index eb009825cb2f..9ba3d33ce4a9 100644 --- a/plugin/Live/WebRTC/api.js +++ b/plugin/Live/WebRTC/api.js @@ -120,8 +120,8 @@ async function startWebRTC({ videoDeviceId = null, audioDeviceId = null, useScre // Constraints for selected devices or default devices const isLandscape = window.screen.orientation.type.startsWith('landscape'); const videoConstraints = { - width: { ideal: isLandscape ? 1280 : 720 }, - height: { ideal: isLandscape ? 720 : 1280 }, + //width: { ideal: isLandscape ? 1280 : 720 }, + //height: { ideal: isLandscape ? 720 : 1280 }, frameRate: { ideal: 30 }, //aspectRatio: isLandscape ? 16 / 9 : 9 / 16, };