Skip to main content

Module wire

Module wire 

Source
Expand description

JSON wire envelopes and signaling payloads

this facade contains the serialized protocol contract exchanged over the WebSocket browser and native hosts should share these types instead of duplicating envelope names or request payload shapes

Structs§

AuthPayload
AvailableFeatures
room capabilities advertised to a newly connected browser client
ClientBroadcastPayload
DownloadStates
receiver intent for which streams to download from one peer
Envelope
NegotiationUploadEncoding
NegotiationUploadSlot
PeerInfoPayload
PeerLeftPayload
PeerSnapshot
full peer entry sent when a client needs the current room membership view
RecordingActionResult
RecordingOptions
recording modes requested by a user
RecordingState
current room recording state as shown to call participants
RecordingStateUpdate
recording state update emitted to clients and observers
RequestId
ServerBroadcastPayload
SessionDescriptionPayload
SourceDescriptor
SourceEncodingDescriptor
StreamIntentPayload
SubscribePayload
TrackBinding
UserInfo
presence and call UI state associated with one room participant
UserPermissions
user-level permissions supplied by the Odoo authentication path
WelcomePayload

Enums§

ClientEnvelope
ClientMessage
ClientRequest
ClientResponse
EnvelopeBatchDecodeError
EnvelopeDecodeError
ServerEnvelope
ServerMessage
ServerRequest
ServerResponse
StopCode
business reason attached to a recording stop update
StreamType
stream category exposed to Odoo clients
UploadLayerPolicyRole
UserId
user identity as accepted by the Odoo-facing call contract
VideoLayoutIntent
receiver-side layout role for a video stream
WebSocketCloseCode
websocket close code vocabulary shared by server and browser protocol code

Constants§

MAX_ENVELOPE_BATCH_LEN

Functions§

decode_envelope_batch
Decode a websocket envelope batch while preserving route validation errors and checking a caller-provided batch limit before route conversion.

Type Aliases§

EnvelopeBatch
JsonPayload
opaque compatibility payload carried through legacy broadcast paths