Home > hls.js > Hls > startLevel

Hls.startLevel property

Return the desired start level for the first fragment that will be loaded. The default value of -1 indicates automatic start level selection. Setting hls.nextAutoLevel without setting a startLevel will result in the nextAutoLevel value being used for one fragment load.

Signature:

get startLevel(): number;

set startLevel(newLevel: number);