Type Alias: SegmentSample
type SegmentSample = object;Defined in: SegmentSample.ts:8
Beta
A finished or abandoned segment download.
Properties
aborted?
aborted?: boolean;Defined in: SegmentSample.ts:39
true when the player cancelled the download.
bandwidth
bandwidth: number;Defined in: SegmentSample.ts:19
The bandwidth of the requested rung, in bits per second. The value is the same number as the ladder entry of the rung, never a measured rate. The value is authoritative. A selector that keeps a current rung corrects it from this value.
bufferLevel
bufferLevel: number;Defined in: SegmentSample.ts:29
The seconds of media buffered ahead of the playhead at response end, before the segment is appended.
duration
duration: number;Defined in: SegmentSample.ts:24
The media duration of the segment, in seconds.
isReplacement?
isReplacement?: boolean;Defined in: SegmentSample.ts:34
true when the segment replaced buffered media.
timing
timing: ResourceTiming;Defined in: SegmentSample.ts:12
The timing of the download. The player passes the same object to the throughput estimator.