AudioConfig

data class AudioConfig(    val bitrate: Int = 128000,     val sampleRate: Int = 44100,     val stereo: Boolean = true,     val echoCanceler: Boolean = true,     val noiseSuppressor: Boolean = true)

Describes audio configuration.

Constructors

Link copied to clipboard
fun AudioConfig(    bitrate: Int = 128000,     sampleRate: Int = 44100,     stereo: Boolean = true,     echoCanceler: Boolean = true,     noiseSuppressor: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bitrate: Int = 128000

Audio bitrate in bps.

Link copied to clipboard
val echoCanceler: Boolean = true

Boolean.true if you want to activate echo canceler. Boolean.false to deactivate.

Link copied to clipboard
val noiseSuppressor: Boolean = true

Boolean.true if you want to activate noise suppressor. Boolean.false to deactivate.

Link copied to clipboard
val sampleRate: Int = 44100

Audio sample rate in Hz.

Link copied to clipboard
val stereo: Boolean = true

Boolean.true if you want audio capture in stereo, Boolean.false for mono.