Home > hls.js > FragmentTracker > getAppendedFrag

FragmentTracker.getAppendedFrag() method

Return a Fragment or Part with an appended range that matches the position and levelType Otherwise, return null

Signature:

getAppendedFrag(position: number, levelType: PlaylistLevelType): Fragment | Part | null;

Parameters

Parameter

Type

Description

position

number

levelType

PlaylistLevelType

**Returns:**

Fragment | Part | null