Transport packages
GeminiLiveWebSocketTransport
Overview
The GeminiLiveWebsocketTransport
class extends the RealTimeWebsocketTransport
to implement a fully functional RTVI Transport
. It provides a framework for implementing real-time communication directly with the Gemini Multimodal Live service. RealTimeWebsocketTransport
handles media device management, audio/video streams, and state management for the connection.
Transports of this type are design 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
Configuration Options
Sending Messages
Handling Events
The transport implements the various RTVI event handlers. Check out the docs or samples for more info.
More Information
Package
@pipecat-ai/realtime-websocket-transport