Skip to main content

Crate openrtc

Crate openrtc 

Source

Re-exports§

pub use client::Client;
pub use native::ControlPlane;
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.
client
connection
connection_manager
coordination
explicit_transfer_crypto
Encrypted explicit file-transfer helpers shared by native hosts.
heartbeat
key_agreement
Ephemeral X25519 ECDH key agreement for automatic application-layer crypto.
lifecycle_reason
Structured lifecycle reason helpers.
logging
native
Provider-neutral OpenRTC 2.0 control-plane client for pure native hosts.
native_device
native_node
native_protocol
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.
session_token
signaling
sso
stream_metadata
transport

Macros§

clog
Phase 7 structured-log macro. Emits a single println! 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.