Skip to content

bodhi-realtime-agent / ClientMediaProfile

Type Alias: ClientMediaProfile ​

ClientMediaProfile = { kind: "websocket"; } | { iceServers?: readonly IceServerEntry[]; kind: "direct_rtc"; rtcAudio?: "none" | "werift_opus"; }

Defined in: clients/client-protocol/dist/client-media.d.ts:7

Client-media wire types — how a session's media plane is described on the wire (session.config / session.ready). Moved from src/types/client-media.ts, which re-exports these and keeps the framework-side describeClientTransport() runtime helper.

Union Members ​

Type Literal ​

{ kind: "websocket"; }


Type Literal ​

{ iceServers?: readonly IceServerEntry[]; kind: "direct_rtc"; rtcAudio?: "none" | "werift_opus"; }

iceServers? ​

readonly optional iceServers?: readonly IceServerEntry[]

Optional ICE server list for the browser↔framework RTC engine.

kind ​

readonly kind: "direct_rtc"

rtcAudio? ​

readonly optional rtcAudio?: "none" | "werift_opus"

none (default): mic + assistant PCM on the WebSocket binary path. werift_opus: Opus RTP over an embedded werift RTCPeerConnection.

Built with VitePress