Home > hls.js > AudioTrackController > onLevelSwitching

AudioTrackController.onLevelSwitching() method

Signature:

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

Parameters

Parameter

Type

Description

event

Events.LEVEL_SWITCHING

data

LevelSwitchingData

**Returns:**

void