Home > hls.js > AudioStreamController > onAudioTrackSwitching

AudioStreamController.onAudioTrackSwitching() method

Signature:

onAudioTrackSwitching(event: Events.AUDIO_TRACK_SWITCHING, data: AudioTrackSwitchingData): void;

Parameters

Parameter Type Description
event Events.AUDIO_TRACK_SWITCHING
data AudioTrackSwitchingData

Returns:

void