Skip to main content

Crate sew_lk_compat

Crate sew_lk_compat 

Source
Expand description

sew-lk-compat: the LiveKit-protocol pieces of Sew’s native voice engine. Not affiliated with or endorsed by LiveKit, Inc.

  • signal: the /rtc/v1 join URL with its join_request, ClientInfo, trickles.
  • session: the Sans-IO signalling session of a single-PC voice client.
  • e2ee: LiveKit’s AES-GCM frame format (LkGcmV1) and its configuration.
  • compat: client-sdk-js rules (compareVersions, the validate classifier).

signal and session were rewritten from a written behaviour specification; compat and e2ee::lkgcm are ported from LiveKit’s client-sdk-js (Apache-2.0). sew-call-client (MIT OR Apache-2.0) builds the engine on these and holds no LiveKit-derived code itself. See this crate’s README and NOTICE for the origins.

Re-exports§

pub use session::LeaveAction;
pub use session::Session;
pub use session::SessionCounters;
pub use session::SessionEvent;
pub use signal::ClientInfoOpts;
pub use signal::JoinParams;

Modules§

compat
JS SDK rules that Sew’s tests evaluate against the engine: compareVersions (src/room/utils.ts lines 426–443 at v2.22.3) and the validate-response classifier of SignalClient.handleConnectionError (lines 1281–1321).
e2ee
The LiveKit frame format’s configuration and errors, shared by lkgcm.
session
The signalling state of a voice client with one peer connection, without any I/O.
signal
What a voice client sends to open the signalling socket, and the small wire helpers around it.