OpenAIRealTimeWebRTCTransport
is a fully functional Pipecat 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.
create()
method. See the OpenAI Realtime API documentation for more details on each of the options and their defaults.
OpenAIRealTimeWebRTCTransport
does not take connection parameters. It connects directly to the OpenAI Realtime API using the API key provided as part of the initial configuration.
PipecatClient
event handlers. Check out the docs or samples for more info.
@pipecat-ai/openai-realtime-webrtc-transport