mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fix outgoing call in full screen
This commit is contained in:
parent
50418f5dbb
commit
0bb7761db9
1 changed files with 3 additions and 2 deletions
|
|
@ -1296,8 +1296,9 @@ class CurrentCallViewModel
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
val isSending = direction == MediaDirection.SendRecv || direction == MediaDirection.SendOnly
|
val isConnected = state == Call.State.Connected || state == Call.State.StreamsRunning
|
||||||
val isReceiving = direction == MediaDirection.SendRecv || direction == MediaDirection.RecvOnly
|
val isSending = (state == Call.State.OutgoingEarlyMedia || isConnected) && (direction == MediaDirection.SendRecv || direction == MediaDirection.SendOnly)
|
||||||
|
val isReceiving = (state == Call.State.IncomingEarlyMedia || isConnected) && (direction == MediaDirection.SendRecv || direction == MediaDirection.RecvOnly)
|
||||||
|
|
||||||
val wasSending = isSendingVideo.value == true
|
val wasSending = isSendingVideo.value == true
|
||||||
val wasReceiving = isReceivingVideo.value == true
|
val wasReceiving = isReceivingVideo.value == true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue