diff --git a/build.gradle b/build.gradle index 4213d80..a8aaf96 100644 --- a/build.gradle +++ b/build.gradle @@ -19,8 +19,8 @@ buildscript { } } plugins { - id 'com.android.application' version '8.5.0' apply false - id 'com.android.library' version '8.5.0' apply false + id 'com.android.application' version '8.6.1' apply false + id 'com.android.library' version '8.6.1' apply false id 'org.jetbrains.kotlin.android' version "$kotlinVersion" apply false id 'org.jetbrains.kotlin.kapt' version "$kotlinVersion" apply false id 'org.jetbrains.dokka' version "$dokkaVersion" apply false diff --git a/livestream/src/main/java/video/api/livestream/models/AudioConfig.kt b/livestream/src/main/java/video/api/livestream/models/AudioConfig.kt index 538c701..6edfa55 100644 --- a/livestream/src/main/java/video/api/livestream/models/AudioConfig.kt +++ b/livestream/src/main/java/video/api/livestream/models/AudioConfig.kt @@ -21,26 +21,12 @@ data class AudioConfig( * [Boolean.false] for mono. */ val stereo: Boolean = true, - - /** - * [Boolean.true] if you want to activate echo canceler. - * [Boolean.false] to deactivate. - */ - val echoCanceler: Boolean = true, - - /** - * [Boolean.true] if you want to activate noise suppressor. - * [Boolean.false] to deactivate. - */ - val noiseSuppressor: Boolean = true ) { internal fun toSdkConfig(): io.github.thibaultbee.streampack.core.data.AudioConfig { return io.github.thibaultbee.streampack.core.data.AudioConfig( startBitrate = bitrate, sampleRate = sampleRate, channelConfig = if (stereo) AudioFormat.CHANNEL_IN_STEREO else AudioFormat.CHANNEL_IN_MONO, - enableEchoCanceler = echoCanceler, - enableNoiseSuppressor = noiseSuppressor ) } @@ -50,8 +36,6 @@ data class AudioConfig( bitrate = config.startBitrate, sampleRate = config.sampleRate, stereo = config.channelConfig == AudioFormat.CHANNEL_IN_STEREO, - echoCanceler = config.enableEchoCanceler, - noiseSuppressor = config.enableNoiseSuppressor ) } }