Overview
TransportParams is the base configuration class for all Pipecat transports. It controls audio input/output settings, video settings, and voice activity detection. Every transport’s params class (DailyParams, LiveKitParams, WebsocketServerParams, etc.) inherits from TransportParams.
You typically pass these via the transport’s params argument:
Audio Output
Enable audio output streaming.
Output audio sample rate in Hz. When
None, uses the default rate from the TTS service.Number of output audio channels.
Output audio bitrate in bits per second.
Number of 10ms chunks to buffer before sending output audio. Higher values increase latency but reduce overhead.
Audio mixer instance for combining audio streams, or a mapping of destination names to mixer instances.
List of audio output destination identifiers for routing audio to specific participants or endpoints.
Seconds of silence to send after an
EndFrame. Set to 0 to disable.Audio Input
Enable audio input streaming.
Input audio sample rate in Hz. When
None, uses the transport’s native rate.Number of input audio channels.
Audio filter to apply to incoming audio (e.g., noise suppression).
Start audio input streaming immediately when the transport starts. Set to
False to manually control when audio input begins.Pass input audio frames downstream through the pipeline. When
False, audio is consumed by VAD but not forwarded.Video Output
Enable video output streaming.
Enable real-time video output. When
True, frames are sent as they arrive rather than buffered.Video output width in pixels.
Video output height in pixels.
Video output bitrate in bits per second.
Video output frame rate in frames per second.
Video output color format string.
Preferred video codec for output (e.g.,
VP8, H264, H265).List of video output destination identifiers.
Video Input
Enable video input streaming.
Transport Subclasses
Each transport extendsTransportParams with provider-specific fields:
| Transport | Params Class | Additional Fields |
|---|---|---|
| DailyTransport | DailyParams | api_key, api_url, dialin_settings, transcription_enabled, transcription_settings |
| LiveKitTransport | LiveKitParams | (no additional fields) |
| SmallWebRTCTransport | TransportParams | Uses base class directly |
| WebsocketServerTransport | WebsocketServerParams | add_wav_header, serializer, session_timeout |
| FastAPIWebsocketTransport | FastAPIWebsocketParams | serializer, session_timeout |