pub struct AppSpec {
pub name: AppName,
pub broadcast_capacity: usize,
pub gop_capacity: usize,
}Expand description
Plain-Rust application descriptor — replaces sc-config::AppConfig.
Fields§
§name: AppNameApplication name (e.g. "live").
broadcast_capacity: usizePer-stream broadcast channel capacity (frames buffered for slow joiners).
gop_capacity: usizeKeyframe-anchored GOP replay buffer size, in frames (0 disables it). Enables sub-second playback start for late joiners.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppSpec
impl RefUnwindSafe for AppSpec
impl Send for AppSpec
impl Sync for AppSpec
impl Unpin for AppSpec
impl UnsafeUnpin for AppSpec
impl UnwindSafe for AppSpec
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