Always show remote participant when entering PIP mode.

fork-5.53.8
Cody Henthorne 2022-10-10 16:26:12 -04:00 zatwierdzone przez Greyson Parrelli
rodzic 83ae613e9a
commit de329166d2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -285,7 +285,7 @@ data class CallParticipantsState(
val displayLocal: Boolean = (numberOfRemoteParticipants == 0 || !isInPip) && (isNonIdleGroupCall || localParticipant.isVideoEnabled)
var localRenderState: WebRtcLocalRenderState = WebRtcLocalRenderState.GONE
if (isExpanded && (localParticipant.isVideoEnabled || isNonIdleGroupCall)) {
if (!isInPip && isExpanded && (localParticipant.isVideoEnabled || isNonIdleGroupCall)) {
return WebRtcLocalRenderState.EXPANDED
} else if (displayLocal || showVideoForOutgoing) {
if (callState == WebRtcViewModel.State.CALL_CONNECTED || callState == WebRtcViewModel.State.CALL_RECONNECTING) {