Home > hls.js > Part

Part class

Object representing parsed data from an HLS Partial Segment. Found in LevelDetails.partList.

Signature:

export declare class Part extends BaseSegment 

Extends: BaseSegment

Constructors

Constructor

Modifiers

Description

(constructor)(partAttrs, frag, baseurl, index, previous)

Constructs a new instance of the Part class

Properties

Property

Modifiers

Type

Description

duration

readonly

number

end

readonly

number

fragment

readonly

Fragment

fragOffset

readonly

number

gap

readonly

boolean

independent

readonly

boolean

index

readonly

number

loaded

readonly

boolean

relurl

readonly

string

start

readonly

number

stats

LoadStats