From 98ab1b2aca465ea9a194be4f36ddb7d5b3a0573d Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Tue, 14 Oct 2025 15:37:35 +0200 Subject: [PATCH] Avoid mosaic layout when screensharing is enabled. --- CHANGELOG.md | 5 +++++ linphone-app/src/components/call/CallModel.cpp | 2 ++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78ed5473b..3018e6da3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 5.3.2 - Undefined + +### Fixed +- Avoid mosaic layout when screensharing is enabled. + ## 5.3.1 - 2025-10-07 ### Fixed diff --git a/linphone-app/src/components/call/CallModel.cpp b/linphone-app/src/components/call/CallModel.cpp index 6998f489c..b4da79592 100644 --- a/linphone-app/src/components/call/CallModel.cpp +++ b/linphone-app/src/components/call/CallModel.cpp @@ -1098,6 +1098,8 @@ void CallModel::updateConferenceVideoLayout(){ auto newLayout = LinphoneEnums::fromLinphone(callParams->getConferenceVideoLayout()); if( !callParams->videoEnabled()) newLayout = LinphoneEnums::ConferenceLayoutAudioOnly; + else if (getConferenceModel() && getConferenceModel()->isScreenSharingEnabled()) + newLayout = LinphoneEnums::ConferenceLayoutActiveSpeaker; if( mConferenceVideoLayout != newLayout && !getPausedByUser()){// Only update if not in pause. if(mCall->getConference()){ if( callParams->getConferenceVideoLayout() == linphone::Conference::Layout::Grid)