Home > hls.js > BaseStreamController > mapToInitFragWhenRequired

BaseStreamController.mapToInitFragWhenRequired() method

Signature:

mapToInitFragWhenRequired(frag: Fragment | null): typeof frag;

Parameters

Parameter Type Description
frag Fragment | null

Returns:

typeof frag