force active speaker if not in conf

This commit is contained in:
Gaelle Braud 2024-12-26 18:16:01 +01:00
parent 55e325c7ec
commit f1fb447fa3

View file

@ -29,7 +29,7 @@ Item {
function setConferenceLayout() {
callLayout.sourceComponent = undefined // unload old view before opening the new view to avoid conflicts in Video UI.
callLayout.sourceComponent = mainItem.conferenceLayout == LinphoneEnums.ConferenceLayout.ActiveSpeaker
callLayout.sourceComponent = !conference || mainItem.conferenceLayout == LinphoneEnums.ConferenceLayout.ActiveSpeaker
? activeSpeakerComponent
: gridComponent
}