Skip to main content

Crate openrtc

Crate openrtc 

Source

Re-exports§

pub use client::Client;
pub use native::ControlPlane;
pub use ticket_mesh::TicketMesh;
pub use ticket_mesh::TicketMeshError;
pub use ticket_mesh::TicketMeshErrorCode;
pub use ticket_mesh::TicketMeshOptions;
pub use client::EndpointHandle;

Modules§

adapters
application_crypto
Transport-agnostic application payload encryption envelope.
application_crypto_streams
Length-framed application-crypto adapters for iroh SendStream / RecvStream.
broadcast
Target-neutral, non-peer live-broadcast protocol ownership.
client
connection_manager
coordination
datagrams
Shared protected-datagram queue and freshness policy.
explicit_transfer_crypto
Encrypted explicit file-transfer helpers shared by native hosts.
heartbeat
iroh_carrier_kind
Private carrier identities used below the Iroh endpoint.
key_agreement
Ephemeral X25519 ECDH key agreement for automatic application-layer crypto.
lifecycle_reason
Structured lifecycle reason helpers.
media
Target-neutral OpenRTC media protocol primitives.
native
Provider-neutral OpenRTC 2.0 control-plane client for pure native hosts.
native_device
native_node
native_protocol
offline
Offline device enrollment, trust bundles, and generation-bound proof.
presence
protocol_config
Pre-bind ALPN composition shared by native and WASM runtimes.
protocol_registry
route_policy
Pure route selection policy shared by native Rust and browser WASM.
runtime_manager
runtime_policy
Runtime policy constants and snapshots.
service_errors
Public service denial metadata. This describes recovery; it never schedules it.
session_token
signaling
sparse_fanout
Bounded sparse-avenue topology and signed broadcast envelopes.
sso
stream_metadata
ticket_mesh
The transferable invitation format for a ticket-scoped peer mesh.
transport

Macros§

clog
Phase 7 structured-log macro. Emits a single eprintln! line of the form <tag> <ctx-fields> <message> — exactly the shape the Phase 0 correlationLog.ts parser already understands.

Constants§

LIVE_PROJECT_ID
Re-export for downstream crates’ tests.

Functions§

app_tag_from_api_key
ensure_rustls
space_app_tag
validate_api_key
Validate the only public platform credential accepted by an OpenRTC 2.0 client constructor. The API key identifies the developer application; it is not a secret and does not authorize a live avenue by itself.