Forward-snap tolerance, in seconds, applied when looking up a segment by time.
If the requested time falls within this window before a segment's startTime,
that segment is returned rather than treating the gap as uncovered. This absorbs
small alignment differences between qualities, where one quality's segment may
begin a few milliseconds later than another's at the same logical boundary.
Pass to getSegmentAtTime (and MediaQualityData.getSegment) as the affordance
argument. Callers resuming streaming after a seek should also bias the requested
time behind the playhead by at least this amount, so any subsequent appends
cover the playhead without leaving a gap. The SegmentController clamps negative
request times to 0, so callers don't need to guard against the bias going below
the start of the timeline.
Forward-snap tolerance, in seconds, applied when looking up a segment by time.
If the requested time falls within this window before a segment's
startTime, that segment is returned rather than treating the gap as uncovered. This absorbs small alignment differences between qualities, where one quality's segment may begin a few milliseconds later than another's at the same logical boundary.Pass to
getSegmentAtTime(andMediaQualityData.getSegment) as theaffordanceargument. Callers resuming streaming after a seek should also bias the requested time behind the playhead by at least this amount, so any subsequent appends cover the playhead without leaving a gap. TheSegmentControllerclamps negative request times to0, so callers don't need to guard against the bias going below the start of the timeline.