LiveClientEventLiveInputAudioAppendEvent interface
Send audio to a Live session over its primary WebSocket. WebRTC and SIP sessions send audio over their media transport.
- Extends
Properties
| audio | Base64-encoded raw audio in the startup-selected format, without a WAV or other container header. Primary WebSocket only; media transports use their audio track. Audio appends have no acknowledgment. Reflected sideband server events reuse this event type and audio key, with no timestamps or event_id; their audio is always mono PCM16LE at 24 kHz. |
| event_id | A client-generated ID used to correlate this command with server events. |
| type | The Live client event type. Always |
Property Details
audio
Base64-encoded raw audio in the startup-selected format, without a WAV or other container header. Primary WebSocket only; media transports use their audio track. Audio appends have no acknowledgment. Reflected sideband server events reuse this event type and audio key, with no timestamps or event_id; their audio is always mono PCM16LE at 24 kHz.
audio: string
Property Value
string
event_id
A client-generated ID used to correlate this command with server events.
event_id?: string
Property Value
string
type
The Live client event type. Always session.input_audio.append.
type: "session.input_audio.append"
Property Value
"session.input_audio.append"