Overview
The OpenAI Realtime WebRTC transport implementation enables real-time audio 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.Installation
Add the OpenAI transport package to your project:Usage
Create a client:Currently, invalid session configurations will result in the OpenAI connection
being failed.
API Reference
Demo
Simple Chatbot OpenAI Demo
Source
iOS OpenAI Realtime WebRTC
Pipecat iOS Client Reference
Complete API documentation for the OpenAI transport implementation