arcly_stream/protocol/mod.rs
1//! Reusable protocol scaffolding shared by ingest handlers (RTMP, RTSP, …).
2//!
3//! Gated behind `ingest`. Extracted from `sc-protocol-ingest`, with the global
4//! metrics singleton removed — counters are the caller's concern.
5
6mod ingest;
7
8pub use ingest::{
9 find_nal_start, run_tcp_ingest_server, IngestRateLimit, KeyframeGate, NalStart,
10 MAX_AUDIO_FRAME, MAX_VIDEO_FRAME,
11};
12
13#[cfg(feature = "rtmp")]
14#[cfg_attr(docsrs, doc(cfg(feature = "rtmp")))]
15pub mod rtmp;