Home > hls.js > AbrController > onLevelSwitching

AbrController.onLevelSwitching() method

Signature:

protected onLevelSwitching(event: Events.LEVEL_SWITCHING, data: LevelSwitchingData): void;

Parameters

Parameter

Type

Description

event

Events.LEVEL_SWITCHING

data

LevelSwitchingData

**Returns:**

void