VoiceAgentEchoCancellation interface

Server-side echo cancellation settings for input audio.

Properties

channels

The number of input channels. Use two interleaved channels when reference_source is client.

reference_source

Whether reference audio comes from server playback or a client-provided channel.

type

The echo cancellation implementation. Always server_echo_cancellation.

Property Details

channels

The number of input channels. Use two interleaved channels when reference_source is client.

channels?: number

Property Value

number

reference_source

Whether reference audio comes from server playback or a client-provided channel.

reference_source?: VoiceAgentEchoCancellationReferenceSource

Property Value

type

The echo cancellation implementation. Always server_echo_cancellation.

type: "server_echo_cancellation"

Property Value

"server_echo_cancellation"