mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Change layout to default one (instead of audion only) when joining a conference using a SIP URI
This commit is contained in:
parent
97606578a4
commit
e6f897cb39
2 changed files with 10 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ Group changes to describe their impact on the project, as follows:
|
|||
|
||||
### Changed
|
||||
- No longer follow TelecomManager audio endpoint during calls, using our own routing policy
|
||||
- Join a conference using default layout instead of audio only when clicking on a meeting SIP URI
|
||||
- Removing an account will also remove all related data in the local database (auth info, call logs, conversations, meetings, etc...)
|
||||
- Hide SIP address/phone number picker dialog if contact has exactly one SIP address matching both the app default domain & the currently selected account domain
|
||||
- Hide SIP address associated to phone number through presence mecanism in contact details & editor views.
|
||||
|
|
|
|||
|
|
@ -352,6 +352,15 @@ class ConferenceViewModel
|
|||
"$TAG Conference has a participant sharing its screen, changing layout from mosaic to active speaker"
|
||||
)
|
||||
setNewLayout(ACTIVE_SPEAKER_LAYOUT)
|
||||
} else if (currentLayout == AUDIO_ONLY_LAYOUT) {
|
||||
val defaultLayout = call.core.defaultConferenceLayout.toInt()
|
||||
if (defaultLayout == Conference.Layout.ActiveSpeaker.toInt()) {
|
||||
Log.w("$TAG Joined conference in audio only layout, switching to active speaker layout")
|
||||
setNewLayout(ACTIVE_SPEAKER_LAYOUT)
|
||||
} else {
|
||||
Log.w("$TAG Joined conference in audio only layout, switching to grid layout")
|
||||
setNewLayout(GRID_LAYOUT)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue