mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Using utils method to check whether call has video enabled or not
This commit is contained in:
parent
3f4106f3b4
commit
1e7efccb08
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ class CurrentCallViewModel
|
|||
endCall(call)
|
||||
}
|
||||
} else {
|
||||
val videoEnabled = call.currentParams.isVideoEnabled
|
||||
val videoEnabled = LinphoneUtils.isVideoEnabled(call)
|
||||
if (videoEnabled && isVideoEnabled.value == false) {
|
||||
if (isBluetoothEnabled.value == true || isHeadsetEnabled.value == true) {
|
||||
Log.i(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue