mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-27 19:36:21 +00:00
Fixed behavior when video is disabled in settings, should not show incoming video calls as video nor route audio to speaker automatically
This commit is contained in:
parent
23810e41e5
commit
bd52960749
1 changed files with 5 additions and 0 deletions
|
|
@ -227,6 +227,11 @@ class LinphoneUtils {
|
||||||
|
|
||||||
@WorkerThread
|
@WorkerThread
|
||||||
fun isVideoEnabled(call: Call): Boolean {
|
fun isVideoEnabled(call: Call): Boolean {
|
||||||
|
if (!call.core.isVideoEnabled) {
|
||||||
|
Log.w("$TAG Video is disabled in Core, assume call is audio only")
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
val conference = call.conference
|
val conference = call.conference
|
||||||
val isConference = conference != null
|
val isConference = conference != null
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue