Transport packages
OpenAIRealTimeWebRTCTransport
Overview
The OpenAIRealTimeWebRTCTransport
is a fully functional RTVI Transport
. It provides a framework for implementing real-time communication directly with the OpenAI Realtime API using WebRTC voice-to-voice service. It 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/openai-realtime-webrtc-transport