ServerVad

@Serializable
data class ServerVad(val prefixPaddingMs: Int? = null, val silenceDurationMs: Int? = null, val threshold: Double? = null) : TranscriptionChunkingStrategy

Configure server-side voice activity detection.

Constructors

Link copied to clipboard
constructor(prefixPaddingMs: Int? = null, silenceDurationMs: Int? = null, threshold: Double? = null)

Properties

Link copied to clipboard
@SerialName(value = "prefix_padding_ms")
val prefixPaddingMs: Int? = null

Audio retained before detected speech, in milliseconds.

Link copied to clipboard
@SerialName(value = "silence_duration_ms")
val silenceDurationMs: Int? = null

Silence duration required to end speech, in milliseconds.

Link copied to clipboard
val threshold: Double? = null

Voice activity sensitivity between zero and one.