Skip to main content

MAX_CSIDS

Constant MAX_CSIDS 

Source
pub const MAX_CSIDS: usize = 64;
Expand description

Largest number of distinct chunk stream ids ChunkAssembler will track reassembly state for concurrently. A well-behaved publisher uses only a handful of chunk streams (2/3 for control/command traffic, plus a few more for audio/video) — this bound is generous headroom above that, not a spec limit — so a flood of chunks opening many distinct (and mostly bogus) csids is rejected rather than growing the per-csid state map without bound.