Transports of this type connect directly to OpenAI’s API from the client,
which exposes your API key. This is designed primarily for development and
testing. For production applications, proxy through a server component to
keep credentials secure.
Installation
Add the transport dependency to yourapp/build.gradle.kts:
AndroidManifest.xml:
Usage
Configuration
OpenAIServiceOptions
OpenAIRealtimeSessionConfig
Audio devices
The transport exposes static constants for audio routing:Resources
Demo
Simple Chatbot Demo
Source
Client Transports
Pipecat Android Client Reference
Complete API documentation for the Pipecat Android client.