Home > hls.js > CapLevelController > getMaxLevelByMediaSize

CapLevelController.getMaxLevelByMediaSize() method

Signature:

static getMaxLevelByMediaSize(levels: Array<Level>, width: number, height: number): number;

Parameters

Parameter Type Description
levels Array<Level>
width number
height number

Returns:

number