Home > hls.js > BaseStreamController > _doFragLoad

BaseStreamController._doFragLoad() method

Signature:

protected _doFragLoad(frag: Fragment, level: Level, targetBufferTime?: number | null, progressCallback?: FragmentLoadProgressCallback): Promise<PartsLoadedData | FragLoadedData | null>;

Parameters

Parameter Type Description
frag Fragment
level Level
targetBufferTime number | null (Optional)
progressCallback FragmentLoadProgressCallback (Optional)

Returns:

Promise<PartsLoadedData | FragLoadedData | null>