Skip to main content

Crate rtflow_mount

Crate rtflow_mount 

Source
Expand description

Protocol-agnostic mount registry and stream publication primitives.

A mount is a named stream endpoint that can be published to and subscribed from. All protocol servers (RTSP, RTMP, SRT, WebRTC) share the same mount registry, enabling cross-protocol interop.

Modules§

continuity
derived
Per-mount cache for payloads derived from a frame that are identical for every subscriber (for example Annex-B → AVCC conversion for HTTP-FLV).
upstream
Upstream proxy configuration and supervision state.

Structs§

FrameBus
FrameReceiver
LocalPublisher
MountHandle
MountOptions
Per-mount tuning knobs for MountRegistry::register_with.
MountRegistry
Shared mount registry accessible by all protocol servers.
MountSnapshot
StreamStats

Enums§

FrameRecvError
MountConfig
PushResult

Constants§

DEFAULT_MAX_QUEUED_BYTES_PER_SESSION
Default per-consumer buffering limit (bytes) applied to every mount unless overridden via MountOptions or the server/gateway config.
MAX_CONSUMER_QUEUE_CAPACITY
Hard upper bound for the per-mount broadcast ring. A configuration typo must not allocate an unbounded queue.
STARTUP_WINDOW
How far back a new subscriber may start relative to the newest cached frame. Bounding the startup window keeps the on-screen delay close to the real-time edge instead of replaying the whole cache.

Functions§

startup_dedup_keys
Keys of frames covered by a startup snapshot.