@langwatch/scenario
    Preparing search index...

    Interface PipecatAgentAdapterInit

    interface PipecatAgentAdapterInit {
        audioFormat?: string;
        callSid?: string;
        realTimePacing?: boolean;
        sampleRate?: number;
        signalingUrl?: string;
        streamSid?: string;
        transport?: PipecatTransport;
        url?: string;
        webSocketFactory?: PipecatWebSocketFactory;
    }
    Index

    Properties

    audioFormat?: string

    Wire audio format the bot expects. Default: "mulaw".

    callSid?: string

    Synthetic call SID. Auto-generated if omitted.

    realTimePacing?: boolean

    Pace outbound µ-law frames at real-time (20ms each) when true. Defaults to true to match production behavior. Tests pass false to avoid waiting through real-time clocks.

    sampleRate?: number

    Wire sample rate the bot expects. Default: 8000.

    signalingUrl?: string

    WebRTC signaling endpoint (required for transport="webrtc").

    streamSid?: string

    Synthetic stream SID. Auto-generated if omitted.

    transport?: PipecatTransport

    Transport mode. Default: "websocket".

    url?: string

    WS endpoint of the running Pipecat bot (required for transport="websocket").

    webSocketFactory?: PipecatWebSocketFactory

    WebSocket factory — defaults to dynamic-importing the ws package at connect() time. Tests inject a fake to drive the protocol synchronously without a real server.