Expand description
Live API realtime model: ephemeral auth tokens, session setup and the mapping between Live API messages and the specification events.
Structs§
- Google
Realtime Factory - Factory for Live API models and session tokens.
- Google
Realtime Model - Live API realtime model.
Constants§
- DEFAULT_
EXPIRES_ AFTER_ SECONDS - Default window in which a token may open a session.
- DEFAULT_
INPUT_ AUDIO_ RATE - Default input audio sample rate advertised in audio blobs.
- FAMILY
- Provider id family.
- WEBSOCKET_
SERVICE_ PATH - Service path of the constrained (token-authenticated) bidi endpoint.
Functions§
- build_
session_ config - Builds the
setupmessage (bidiGenerateContentSetup) for a session. - token_
request_ headers - Headers of the auth token request: configuration headers only (the key travels in the query string).