RealtimeSessionConfig
Properties
Section titled “Properties”audio?
Section titled “audio?”optional audio?: RealtimeAudioConfig;Audio format preferences.
model?
Section titled “model?”optional model?: string;Model identifier (e.g., ‘gemini-3.1-flash-live-preview’, ‘gpt-realtime’).
resumptionHandle?
Section titled “resumptionHandle?”optional resumptionHandle?: string;Session resumption handle (for reconnect continuity).
systemInstruction
Section titled “systemInstruction”systemInstruction: string;System instruction / prompt for the model.
tools: GeminiFunctionDeclaration[];Tool declarations (Gemini format — adapters convert to vendor-specific).
voice?
Section titled “voice?”optional voice?: string;Voice preset (e.g., ‘Puck’, ‘Charon’, ‘marin’).