LiveOutputAudioDelta interface

An audio chunk generated by the Live model. Decode and play primary WebSocket chunks in delivery order using the configured session audio format. Sideband connections receive reflected output audio with timestamps.

Extends

Properties

delta

Base64-encoded raw audio. Primary WebSocket events use the session's configured format; reflected sideband events use mono PCM16LE at 24 kHz.

end_ms

Exclusive session-relative end in milliseconds. Required on reflected sideband events; omitted on the primary WebSocket. Dropped output frames leave gaps between reflected ranges.

start_ms

Inclusive session-relative start in milliseconds. Required on reflected sideband events; omitted on the primary WebSocket.

type

The event type, always session.output_audio.delta.

Property Details

delta

Base64-encoded raw audio. Primary WebSocket events use the session's configured format; reflected sideband events use mono PCM16LE at 24 kHz.

delta: string

Property Value

string

end_ms

Exclusive session-relative end in milliseconds. Required on reflected sideband events; omitted on the primary WebSocket. Dropped output frames leave gaps between reflected ranges.

end_ms?: number

Property Value

number

start_ms

Inclusive session-relative start in milliseconds. Required on reflected sideband events; omitted on the primary WebSocket.

start_ms?: number

Property Value

number

type

The event type, always session.output_audio.delta.

type: "session.output_audio.delta"

Property Value

"session.output_audio.delta"