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
230ee3ed0a
commit
a0c977c562
1 changed files with 3 additions and 2 deletions
|
|
@ -1292,8 +1292,9 @@ class CurrentCallViewModel
|
|||
return
|
||||
}
|
||||
|
||||
val isSending = direction == MediaDirection.SendRecv || direction == MediaDirection.SendOnly
|
||||
val isReceiving = direction == MediaDirection.SendRecv || direction == MediaDirection.RecvOnly
|
||||
val isConnected = state == Call.State.Connected || state == Call.State.StreamsRunning
|
||||
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 wasReceiving = isReceivingVideo.value == true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue