Home > hls.js > FragmentTracker > getFragAtPos

FragmentTracker.getFragAtPos() method

Signature:

getFragAtPos(position: number, levelType: PlaylistLevelType, buffered?: boolean): MediaFragment | null;

Parameters

Parameter

Type

Description

position

number

levelType

PlaylistLevelType

buffered

boolean

(Optional)

**Returns:**

MediaFragment | null