RealtimeAudioOutput

@Serializable
data class RealtimeAudioOutput(val format: RealtimeAudioFormat? = null, val voice: JsonElement? = null, val speed: Double? = null)

Outgoing voice and format configuration.

Constructors

Link copied to clipboard
constructor(format: RealtimeAudioFormat? = null, voice: JsonElement? = null, speed: Double? = null)

Properties

Link copied to clipboard

PCM or G.711 output format.

Link copied to clipboard
val speed: Double? = null

Playback speech speed.

Link copied to clipboard
val voice: JsonElement? = null

Built-in voice string or custom voice object.