Skip to content

bodhi-realtime-agent / tryParseRtcClientSignaling

Function: tryParseRtcClientSignaling() ​

tryParseRtcClientSignaling(msg): RtcClientSignalingMessage | null

Defined in: clients/client-protocol/dist/rtc.d.ts:34

If msg is a recognized client→server RTC signaling frame, return a typed value; otherwise null. Unknown type values are ignored so normal client messages are unaffected. (rtc.answer is server→client and is no longer accepted inbound — the directionality fix.)

Parameters ​

msg ​

Record<string, unknown>

Returns ​

RtcClientSignalingMessage | null

Built with VitePress