mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Using newly added API to know if FEC is available in the current call
This commit is contained in:
parent
7d40ad5ad1
commit
79ca1d6505
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class CallStatsModel @WorkerThread constructor() {
|
|||
val showVideoStats = videoEnabled && (remoteSendsVideo || localSendsVideo)
|
||||
isVideoEnabled.postValue(showVideoStats)
|
||||
|
||||
val isFecEnabled = call.core.isFecEnabled // TODO FIXME: use real value from call
|
||||
val isFecEnabled = call.currentParams.isFecEnabled
|
||||
fecEnabled.postValue(showVideoStats && isFecEnabled)
|
||||
|
||||
when (stats.type) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue