Skip to main content

API Reference

Complete reference for every public class in the Estuary Unity SDK (com.estuary.sdk).

Components

Components are MonoBehaviour scripts you attach to GameObjects.

ComponentDescriptionPage
EstuaryManagerSingleton that owns the network connection and routes eventsCore Components
EstuaryCharacterRepresents one AI character -- holds IDs, accumulates responses, fires per-character eventsCharacter Components
EstuaryAudioSourcePlays streaming TTS audio with ring-buffer playbackCharacter Components
EstuaryMicrophoneCaptures microphone audio in WebSocket or LiveKit modeInput Components
EstuaryWebcamStreams camera video for spatial awarenessInput Components
EstuaryActionManagerRoutes action tags from bot responses to handlersAction Components

Configuration

ClassDescriptionPage
EstuaryConfigScriptableObject holding server URL, API key, voice mode, and audio settingsCore Components

Core (Non-Component)

ClassDescriptionPage
EstuaryClientLow-level Socket.IO v4 client (used internally by EstuaryManager)Core Components
LiveKitVoiceManagerManages the LiveKit voice room, mic track, and interrupt signallingLiveKit Integration
LiveKitVideoManagerPublishes webcam video as a LiveKit video trackLiveKit Integration

Data Models

ClassDescriptionPage
SessionInfoSession, conversation, character, and player IDsData Models
BotResponseA single chunk of a streaming text responseData Models
BotVoiceA single chunk of streaming TTS audioData Models
SttResponseSpeech-to-text transcription resultData Models
AgentActionA parsed action tag with name and parametersData Models
SceneGraphWorld-model scene graph with entities, relationships, and surfacesData Models
InterruptDataInterrupt confirmation from the serverData Models
QuotaExceededDataQuota limit informationData Models

Utilities

ClassDescriptionPage
ActionParserStatic methods to parse and strip <action> XML tags from textAction Components

Enums

EnumValuesPage
ConnectionStateDisconnected, Connecting, Connected, Reconnecting, ErrorData Models
LiveKitConnectionStateDisconnected, RequestingToken, Connecting, WaitingForBot, Ready, ErrorData Models
VoiceModeWebSocket, LiveKitData Models
WebcamStreamModeLiveKit, WebSocketData Models