Home > hls.js > ChunkMetadata > (constructor)

ChunkMetadata.(constructor)

Constructs a new instance of the ChunkMetadata class

Signature:

constructor(level: number, sn: number, id: number, size?: number, part?: number, partial?: boolean);

Parameters

Parameter Type Description
level number
sn number
id number
size number (Optional)
part number (Optional)
partial boolean (Optional)