Skip to main content

Crate sew_lkproto

Crate sew_lkproto 

Source
Expand description

LiveKit client protocol 17 for Sew’s media engine.

  • livekit and logger: the protobuf types of livekit_rtc.proto, livekit_models.proto, livekit_metrics.proto and logger/options.proto, vendored byte-identical from livekit/protocol at PROTOCOL_COMMIT (proto/) and generated with prost + pbjson (binary and LiveKit’s JSON, unknown JSON fields ignored) without protoc (protox builds the descriptors). Sew’s own tests regenerate them and fail on drift.
  • Timestamp: google.protobuf.Timestamp, the type of the generated timestamp fields, with the protobuf JSON mapping’s RFC 3339 strings.
  • version: Sew’s protocol-version gates (rewritten from a written behaviour specification), with the gate table as data (version::GATES).

The generated sources are include!d so cargo fmt leaves them alone; they carry no unsafe.

Re-exports§

pub use version::BelowFloor;
pub use version::CURRENT_PROTOCOL;
pub use version::MIN_CLIENT_PROTOCOL;
pub use version::ProtocolVersion;

Modules§

livekit
Package livekit (generated; see the crate docs).
logger
Package logger (generated; see the crate docs).
version
Which LiveKit signal-protocol features a client can handle.

Structs§

Timestamp
google.protobuf.Timestamp: an instant as seconds and nanoseconds since the Unix epoch.

Constants§

PROTOCOL_COMMIT
The livekit/protocol commit the protos come from (protocol 17).