Fixed conf stuck in full screen mode when last participant leaves

This commit is contained in:
Sylvain Berfini 2024-04-18 17:12:01 +02:00
parent ed05b648d1
commit 896ede0b88

View file

@ -197,6 +197,9 @@ class ActiveConferenceCallFragment : GenericCallFragment() {
if (participants.size == 1) {
Log.i("$TAG We are alone in that conference, using nativePreviewWindowId")
core.nativePreviewWindowId = binding.localPreviewVideoSurface
// Don't forget to leave full screen mode, otherwise we won't be able to leave it by touching video surface...
callViewModel.fullScreenMode.postValue(false)
}
}
}