pub struct MountSnapshot {
pub subscriber_count: usize,
pub broadcast_receivers: usize,
pub publisher_connected: bool,
pub proxy_state: Option<ProxyState>,
pub stats: StreamStats,
pub startup_cache_frames: usize,
pub startup_cache_bytes: usize,
pub consumer_queue_capacity: usize,
}Fields§
§subscriber_count: usizeUnique RTSP play sessions (clients) on this mount.
broadcast_receivers: usizeCurrent broadcast receivers (RTSP track subscriptions plus HTTP-FLV / WS-FLV / HLS subscribers). Publishers use the sum of both counters as their power gate so browser playback keeps the encoder running.
publisher_connected: bool§proxy_state: Option<ProxyState>§stats: StreamStats§startup_cache_frames: usize§startup_cache_bytes: usize§consumer_queue_capacity: usizeEffective per-mount broadcast ring capacity (after clamping).
Trait Implementations§
Source§impl Clone for MountSnapshot
impl Clone for MountSnapshot
Auto Trait Implementations§
impl Forget for MountSnapshot
impl Freeze for MountSnapshot
impl Move for MountSnapshot
impl RefUnwindSafe for MountSnapshot
impl Send for MountSnapshot
impl Sync for MountSnapshot
impl Unpin for MountSnapshot
impl UnsafeUnpin for MountSnapshot
impl UnwindSafe for MountSnapshot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more