Function: decodeCortexRoomFrame()
Decode a room message into a Cortex frame.
Parameters
| Parameter | Type | Description |
|---|---|---|
bytes | Uint8Array | The raw MessageReceived payload |
Returns
CortexRoomFrame | null
The frame, or null when the bytes are not a Cortex frame of a
version this decoder understands — treat those as application data.
Defined in
odin-transcription-service/packages/cortex-typescript-sdk/src/room-protocol.ts:107