LiveInitialSessionAudioParam interface

Startup audio configuration. Only primary WebSockets accept audio.format; WebRTC and SIP negotiate their media format. Voice and format are immutable after startup.

Properties

format

Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately.

output

The voice used for speech generated by the Live model.

Property Details

format

Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately.

format?: LiveAudioFormatUnion

Property Value

output

The voice used for speech generated by the Live model.

output?: LiveInitialSessionAudioOutputParam

Property Value