Audio Send Settings Update
@Serializable
Content copied to clipboard
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)
Content copied to clipboard