Home > hls.js > BaseStreamController > getInitialLiveFragment
BaseStreamController.getInitialLiveFragment() method
Signature:
protected getInitialLiveFragment(levelDetails: LevelDetails, fragments: Array<Fragment>): Fragment | null;
Parameters
Parameter | Type | Description |
---|---|---|
levelDetails | LevelDetails | |
fragments | Array<Fragment> |
Returns:
Fragment | null