Overview
TheGeminiLiveWebsocketTransport
class implements a fully functional Pipecat Transport
, providing a framework for implementing real-time communication directly with the Gemini Multimodal Live service. Like all transports, it handles media device management, audio/video streams, and state management for the connection.
Transports of this type are designed primarily for development and testing purposes. For production applications, you will need to build a server component with a server-friendly transport, like the DailyTransport, to securely handle API keys.
Usage
Basic Setup
API Reference
Constructor Options
GeminiLLMServiceOptions
TransportConnectionParams
TheGeminiLiveWebsocketTransport
does not take connection parameters. It connects directly to the Gemini Multimodal Live service using the API key provided as part of the initial configuration.
Events
The GeminiLiveWebSocketTransport implements the various PipecatClient event handlers. Check out the docs or samples for more info.More Information
Package
@pipecat-ai/realtime-websocket-transport