mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed video conf not going full screen when joining
This commit is contained in:
parent
8b86f91c1f
commit
cf3b68cc1b
1 changed files with 2 additions and 2 deletions
|
|
@ -269,12 +269,12 @@ class ConferenceCallFragment : GenericFragment<VoipConferenceCallFragmentBinding
|
|||
|
||||
private fun switchToFullScreenIfPossible(conference: Conference) {
|
||||
if (corePreferences.enableFullScreenWhenJoiningVideoConference) {
|
||||
if (conference.currentParams.isVideoEnabled && conferenceViewModel.conferenceCreationPending.value == false) {
|
||||
if (conference.currentParams.isVideoEnabled) {
|
||||
when {
|
||||
conference.me.devices.isEmpty() -> {
|
||||
Log.w("[Conference Call] Conference has video enabled but either our device hasn't joined yet")
|
||||
}
|
||||
conference.me.devices.find { it.getStreamAvailability(StreamType.Video) } != null -> {
|
||||
conference.me.devices.find { it.isInConference && it.getStreamAvailability(StreamType.Video) } != null -> {
|
||||
Log.i("[Conference Call] Conference has video enabled & our device has video enabled, enabling full screen mode")
|
||||
controlsViewModel.fullScreenMode.value = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue