Skip to main content

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

bool
default:"False"
Enable audio output streaming.
int
default:"None"
Output audio sample rate in Hz. When None, uses the default rate from the TTS service.
int
default:"1"
Number of output audio channels.
int
default:"96000"
Output audio bitrate in bits per second.
int
default:"4"
Number of 10ms chunks to buffer before sending output audio. Higher values increase latency but reduce overhead.
BaseAudioMixer | Mapping[str, BaseAudioMixer]
default:"None"
Audio mixer instance for combining audio streams, or a mapping of destination names to mixer instances.
List[str]
default:"[]"
List of audio output destination identifiers for routing audio to specific participants or endpoints.
int
default:"2"
Seconds of silence to send after an EndFrame. Set to 0 to disable.
bool
default:"True"
Insert silence frames when the audio output queue is empty. When False, the transport waits for audio data instead of inserting silence, which is useful for scenarios that require uninterrupted audio playback without artificial gaps.

Audio Input

bool
default:"False"
Enable audio input streaming.
int
default:"None"
Input audio sample rate in Hz. When None, uses the transport’s native rate.
int
default:"1"
Number of input audio channels.
BaseAudioFilter
default:"None"
Audio filter to apply to incoming audio (e.g., noise suppression).
bool
default:"True"
Start audio input streaming immediately when the transport starts. Set to False to manually control when audio input begins.
bool
default:"True"
Pass input audio frames downstream through the pipeline. When False, audio is consumed by VAD but not forwarded.

Video Output

bool
default:"False"
Enable video output streaming.
bool
default:"False"
Enable real-time video output. When True, frames are sent as they arrive rather than buffered.
int
default:"1024"
Video output width in pixels.
int
default:"768"
Video output height in pixels.
int | None
default:"None"
deprecated
Video output bitrate in bits per second.Deprecated in 1.1.0: Use provider-specific settings instead (e.g., DailyParams.camera_out_send_settings for Daily). This parameter will be removed in 2.0.0.
int
default:"30"
Video output frame rate in frames per second.
str
default:"RGB"
Video output color format string.
str
default:"None"
Preferred video codec for output (e.g., VP8, H264, H265).
List[str]
default:"[]"
List of video output destination identifiers.

Video Input

bool
default:"False"
Enable video input streaming.

Transport Subclasses

Each transport extends TransportParams with provider-specific fields: