Fixed initial mic muted state in conference waiting room

This commit is contained in:
Sylvain Berfini 2022-03-30 13:02:43 +02:00
parent 3334983707
commit bf96016c32
2 changed files with 2 additions and 2 deletions

View file

@ -97,7 +97,7 @@ class ConferenceWaitingRoomViewModel : ViewModel() {
val core = coreContext.core
core.addListener(listener)
callParams.isMicEnabled = PermissionHelper.get().hasRecordAudioPermission()
callParams.isMicEnabled = PermissionHelper.get().hasRecordAudioPermission() && coreContext.core.isMicEnabled
Log.i("[Conference Waiting Room] Microphone will be ${if (callParams.isMicEnabled) "enabled" else "muted"}")
updateMicState()

View file

@ -11,7 +11,7 @@ buildscript {
} // for com.github.chrisbanes:PhotoView
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.1'
classpath 'com.android.tools.build:gradle:7.1.2'
classpath 'com.google.gms:google-services:4.3.10'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.1.0"