mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Fix crash if activating video but call is not established yet
This commit is contained in:
parent
7ce40f5b4d
commit
9715c98da1
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ class ControlsViewModel {
|
|||
}
|
||||
} else {
|
||||
let state = currentCall.state
|
||||
if (state == Call.State.End || state == Call.State.Released || state == Call.State.Error) {
|
||||
if (state == Call.State.End || state == Call.State.Released || state == Call.State.Error || state == .PushIncomingReceived) {
|
||||
return
|
||||
}
|
||||
isVideoUpdateInProgress.value = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue