From cf3b68cc1b497bd150b6840f1ddcfac2ef4ba301 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Tue, 15 Nov 2022 17:18:31 +0100 Subject: [PATCH] Fixed video conf not going full screen when joining --- .../activities/voip/fragments/ConferenceCallFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/linphone/activities/voip/fragments/ConferenceCallFragment.kt b/app/src/main/java/org/linphone/activities/voip/fragments/ConferenceCallFragment.kt index afbc63b03..226e5f4f1 100644 --- a/app/src/main/java/org/linphone/activities/voip/fragments/ConferenceCallFragment.kt +++ b/app/src/main/java/org/linphone/activities/voip/fragments/ConferenceCallFragment.kt @@ -269,12 +269,12 @@ class ConferenceCallFragment : GenericFragment { 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 }