realtime/gemini_realtime_event library

Classes

GeminiAudioOut
One chunk of synthesised audio coming back from the model.
GeminiInterrupted
The model's pending output was interrupted (because the user started speaking again — server-side VAD, or an explicit cancel). Speakers should stop draining queued audio.
GeminiRealtimeError
A non-fatal error. The connection stays open. Fatal errors close the stream with addError instead.
GeminiRealtimeEvent
One event coming back from the Gemini Live WebSocket.
GeminiSetupComplete
The server accepted the initial setup message. Until this fires, the client buffers inbound audio rather than sending it; this prevents dropped first words on slow links.
GeminiTextDelta
One incremental text fragment from the model. Concatenate as they arrive.
GeminiTurnComplete
The model finished its current turn. After this event it expects more input from the user before producing more output.