AudioSendSettingsUpdate

@Serializable
data class AudioSendSettingsUpdate(channelConfig: Update<ChannelConfigUpdate>?, bitRate: Update<BitRate>?) : Update<AudioSendSettingsUpdate>

Custom configuration for an outbound audio track, like microphone audio.

The configuration can be one of two presets, speech and music, or a custom configuration defined via a AudioSendSettings object.

The speech preset is a lower bitrate, mono setting intended for people talking on a call, and it corresponds to the following AudioSendSettings object:

AudioSendSettingsUpdate( channelConfig = 'mono' )

The music preset is a higher bitrate, stereo setting intended for playing music during a call, and it corresponds to the following configuration:

AudioSendSettingsUpdate( channelConfig = 'stereo', bitrate = 192000 )

The default is the speech preset.

Constructors

Link copied to clipboard
fun AudioSendSettingsUpdate(channelConfig: Update<ChannelConfigUpdate>? = null, bitRate: Update<BitRate>? = null)

Types

Link copied to clipboard
class Builder

Properties

Link copied to clipboard
val bitRate: Update<BitRate>? = null

Audio bitrate, in bits per second. If not specified, the value is defined by the platform.

Link copied to clipboard
val channelConfig: Update<ChannelConfigUpdate>? = null

Audio channel configuration. Default is "mono"