Variable: BUFFERING_PERCENT_STEP
const BUFFERING_PERCENT_STEP: 5 = 5;
Defined in: packages/player/src/state.ts:512
How far PlayerState.bufferingPercent must move before the reducer publishes it, in percentage points.
Remarks
Same problem as BUFFERED_POSITION_STEP and the same answer: mpv
republishes cache-buffering-state continuously while a stall is filling, and
an unquantised feed would turn a stall into a state ticker — the one thing
this library's event contract promises not to be.
5 is chosen against what the number is for: a "buffering… 45%" label or a
ring, on a stall that typically lasts a second or two. Twenty updates is more
than a human can read; two hundred is a re-render storm. 0 and 100 are
never quantised away — the first is the start of a stall and the second is
the end of one, and both are states rather than samples.