Skip to content

bodhi-realtime-agent / CreateClientChannelParams

Interface: CreateClientChannelParams ​

Defined in: src/transport/client-channel-factory.ts:21

Inputs needed to construct an IClientChannel for the active ClientMediaProfile.

Properties ​

callbacks ​

readonly callbacks: ClientTransportCallbacks

Defined in: src/transport/client-channel-factory.ts:31


clientSender? ​

readonly optional clientSender?: SessionClientSender

Defined in: src/transport/client-channel-factory.ts:24

When set, server owns the WebSocket and feeds inbound audio/JSON via VoiceSession.feedAudioFromClient.


directRtcMedia? ​

readonly optional directRtcMedia?: DirectRtcMediaParams

Defined in: src/transport/client-channel-factory.ts:26

Required when profile is direct_rtc with rtcAudio: 'werift_opus'.


host? ​

readonly optional host?: string

Defined in: src/transport/client-channel-factory.ts:29


listenTimeoutMs? ​

readonly optional listenTimeoutMs?: number

Defined in: src/transport/client-channel-factory.ts:30


options? ​

readonly optional options?: ClientTransportOptions

Defined in: src/transport/client-channel-factory.ts:33

Local ClientTransport options such as probeState (ignored when clientSender is set).


port? ​

readonly optional port?: number

Defined in: src/transport/client-channel-factory.ts:28

Local ClientTransport listen port (ignored when clientSender is set).


profile ​

readonly profile: ClientMediaProfile

Defined in: src/transport/client-channel-factory.ts:22

Built with VitePress