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
readonlycallbacks:ClientTransportCallbacks
Defined in: src/transport/client-channel-factory.ts:31
clientSender?
readonlyoptionalclientSender?: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?
readonlyoptionaldirectRtcMedia?:DirectRtcMediaParams
Defined in: src/transport/client-channel-factory.ts:26
Required when profile is direct_rtc with rtcAudio: 'werift_opus'.
host?
readonlyoptionalhost?:string
Defined in: src/transport/client-channel-factory.ts:29
listenTimeoutMs?
readonlyoptionallistenTimeoutMs?:number
Defined in: src/transport/client-channel-factory.ts:30
options?
readonlyoptionaloptions?:ClientTransportOptions
Defined in: src/transport/client-channel-factory.ts:33
Local ClientTransport options such as probeState (ignored when clientSender is set).
port?
readonlyoptionalport?:number
Defined in: src/transport/client-channel-factory.ts:28
Local ClientTransport listen port (ignored when clientSender is set).
profile
readonlyprofile:ClientMediaProfile
Defined in: src/transport/client-channel-factory.ts:22