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): Do not resize the desktop track on FF by default. Resizing of the desktop track on Firefox is not needed anymore since the browser now reports the correct resolution of the desktop track after the fix here - https://github.com/jitsi/lib-jitsi-meet/commit/ada0f5e537b8e8102cc99cf8982236e4aa6223d9. Fixes https://github.com/jitsi/jitsi-meet/issues/8519

Jaya Allamsettyd96bb8349658
diff --git a/conference.js b/conference.js
index cccf571dba..22a604f210 100644
--- a/conference.js
+++ b/conference.js
@@ -1771,16 +1771,12 @@ export default {
const isPortrait = height >= width;
const DESKTOP_STREAM_CAP = 720;
- // Config.js setting for resizing high resolution desktop tracks to 720p when presenter is turned on.
- const resizeEnabled = config.videoQuality && config.videoQuality.resizeDesktopForPresenter;
const highResolutionTrack
= (isPortrait && width > DESKTOP_STREAM_CAP) || (!isPortrait && height > DESKTOP_STREAM_CAP);
// Resizing the desktop track for presenter is causing blurriness of the desktop share on chrome.
// Disable resizing by default, enable it only when config.js setting is enabled.
- // Firefox doesn't return width and height for desktop tracks. Therefore, track needs to be resized
- // for creating the canvas for presenter.
- const resizeDesktopStream = browser.isFirefox() || (highResolutionTrack && resizeEnabled);
+ const resizeDesktopStream = highResolutionTrack && config.videoQuality?.resizeDesktopForPresenter;
if (resizeDesktopStream) {
let desktopResizeConstraints = {};