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, base, index, previous)

Constructs a new instance of the Part class

Properties

Property

Modifiers

Type

Description

duration

readonly

number

end

readonly

number

fragment

readonly

MediaFragment

fragOffset

readonly

number

gap

readonly

boolean

independent

readonly

boolean

index

readonly

number

loaded

readonly

boolean

relurl

readonly

string

start

readonly

number