bodhi-realtime-agent / ClientMediaProfile
Type Alias: ClientMediaProfile
ClientMediaProfile = {
kind:"websocket"; } | {iceServers?: readonlyIceServerEntry[];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?
readonlyoptionaliceServers?: readonlyIceServerEntry[]
Optional ICE server list for the browser↔framework RTC engine.
kind
readonlykind:"direct_rtc"
rtcAudio?
readonlyoptionalrtcAudio?:"none"|"werift_opus"
none (default): mic + assistant PCM on the WebSocket binary path. werift_opus: Opus RTP over an embedded werift RTCPeerConnection.