Skip to main content

Crate livekit_common

Crate livekit_common 

Source
Expand description

Foundational types shared across LiveKit crates: participant identities, the encryption/capability enums, client-protocol constants, and the remote-participant registry trait consulted by the data-stream and RPC send paths.

Macros§

enum_dispatch
Generates methods on an enum that forward each call to the inner value of every variant.

Structs§

ParticipantIdentity

Enums§

ClientCapability
A capability a participant’s client advertises, mirroring the ClientInfo.Capability protobuf enum.
EncryptionType

Constants§

CLIENT_PROTOCOL_DATA_STREAM_RPC
RPC v2 (see RPC spec).
CLIENT_PROTOCOL_DATA_STREAM_V2
Understands inline single-packet data streams (data streams v2).
CLIENT_PROTOCOL_DEFAULT
Legacy client.

Traits§

RemoteParticipantRegistry
Read access to remote participants’ advertised protocol and capabilities.