mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Forgot in previous commit to check auto accept video policy
This commit is contained in:
parent
cd8dafc8ce
commit
2b756c5aec
1 changed files with 2 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ class ControlsViewModel : ViewModel() {
|
|||
Log.i("[Call Controls] State changed: $state")
|
||||
isOutgoingEarlyMedia.value = state == Call.State.OutgoingEarlyMedia
|
||||
isIncomingEarlyMediaVideo.value = state == Call.State.IncomingEarlyMedia && call.remoteParams?.isVideoEnabled == true
|
||||
isIncomingCallVideo.value = call.remoteParams?.isVideoEnabled == true
|
||||
isIncomingCallVideo.value = call.remoteParams?.isVideoEnabled == true && coreContext.core.videoActivationPolicy.automaticallyAccept
|
||||
attendedTransfer.value = core.callsNb > 1
|
||||
|
||||
if (state == Call.State.StreamsRunning) {
|
||||
|
|
@ -240,7 +240,7 @@ class ControlsViewModel : ViewModel() {
|
|||
Log.i("[Call Controls] Current state is: $state")
|
||||
isOutgoingEarlyMedia.value = state == Call.State.OutgoingEarlyMedia
|
||||
isIncomingEarlyMediaVideo.value = state == Call.State.IncomingEarlyMedia && currentCall?.remoteParams?.isVideoEnabled == true
|
||||
isIncomingCallVideo.value = currentCall?.remoteParams?.isVideoEnabled == true
|
||||
isIncomingCallVideo.value = currentCall?.remoteParams?.isVideoEnabled == true && coreContext.core.videoActivationPolicy.automaticallyAccept
|
||||
|
||||
updateUI()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue