mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-02 12:19:23 +00:00
Avoid mosaic layout when screensharing is enabled.
This commit is contained in:
parent
58a1f75380
commit
98ab1b2aca
2 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue