Home > hls.js > SubtitleStreamController > onSubtitleTracksUpdated

SubtitleStreamController.onSubtitleTracksUpdated() method

Signature:

onSubtitleTracksUpdated(event: Events.SUBTITLE_TRACKS_UPDATED, { subtitleTracks }: SubtitleTracksUpdatedData): void;

Parameters

Parameter Type Description
event Events.SUBTITLE_TRACKS_UPDATED
{ subtitleTracks } SubtitleTracksUpdatedData

Returns:

void