The Small WebRTC transport implementation enables real-time audio communication with the Small WebRTC Pipecat transport, using a direct WebRTC connection.

Installation

Add the transport dependency to your build.gradle:

implementation "ai.pipecat:small-webrtc-transport:0.3.7"

Usage

Create a client:

val transport = SmallWebRTCTransport.Factory(context, baseUrl)

val options = RTVIClientOptions(
    params = RTVIClientParams(baseUrl = null),
    enableMic = true,
    enableCam = true
)

val client = RTVIClient(transport, callbacks, options)

client.start().withCallback {
    // ...
}

Resources

Pipecat Android Client Reference

Complete API documentation for the Pipecat Android client.