Skip to main content

dspk_stream/
lib.rs

1//! Network sessions for continuous multi-channel signals: a server streams a recording, a client
2//! receives its exact description, its stored samples, and envelopes of any view.
3//!
4//! - [`protocol`]: the messages (generated from `proto/dspk_stream.proto`), their framing, and
5//!   conversions to and from dspk-core / dspk-view types.
6//! - [`transport`]: QUIC + TLS 1.3 endpoints, the server session and the client session.
7//!
8//! Local recording I/O lives in `dspk-io`; envelopes and pyramids in `dspk-view` (a server answers
9//! views with them).
10
11pub mod error;
12pub mod protocol;
13pub mod transport;
14
15pub use error::{StreamError, StreamResult};
16pub use transport::{
17    client_config, serve_recording, server_config, Pacing, ServeOptions, Server, ServerIdentity, ServerTls, ServerTrust, Session, SignalReceiver,
18};