setAudioConfig

@RequiresPermission(value = "android.permission.RECORD_AUDIO")
open suspend override fun setAudioConfig(audioConfig: AudioConfig)

Configures audio settings. It is the first method to call after a SingleStreamer instantiation. It must be call when both stream and audio capture are not running.

Use IConfigurationInfo to get value limits.

Parameters

audioConfig

Audio configuration to set

Throws

if configuration can not be applied.