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): MediaFragment | Part | null;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
position |
number | |
|
levelType |
Returns:
MediaFragment | Part | null