PreCallAudioConfig

class PreCallAudioConfig(val microphoneId: String? = null, val encoderConfig: CustomMicrophoneTrackConfig? = null, val noiseConfig: NoiseConfig? = null)

How the test opens the microphone. Every field is optional; null is unset.

Constructors

Link copied to clipboard
constructor(microphoneId: String? = null, encoderConfig: CustomMicrophoneTrackConfig? = null, noiseConfig: NoiseConfig? = null)

Properties

Link copied to clipboard

the audio profile.

Link copied to clipboard
val microphoneId: String? = null

a VideoSDK.getMics() device id; unset uses the default.

Link copied to clipboard

noise suppression, echo cancellation and gain control. Passing one at all means its values decide: a flag you leave out takes NoiseConfig's own default, and only an explicit null keeps the encoder profile's value.