Home > hls.js > StreamController > nextLevelSwitch

StreamController.nextLevelSwitch() method

try to switch ASAP without breaking video playback: in order to ensure smooth but quick level switching, we need to find the next flushable buffer range we should take into account new segment fetch time

Signature:

nextLevelSwitch(): void;

Returns:

void