Home > hls.js > AudioTrackController

AudioTrackController class

Signature:

declare class AudioTrackController extends BasePlaylistController 

Extends: BasePlaylistController

Constructors

Constructor Modifiers Description
(constructor)(hls) Constructs a new instance of the AudioTrackController class

Properties

Property Modifiers Type Description
allAudioTracks readonly MediaPlaylist[]
audioTrack number
audioTracks readonly MediaPlaylist[]

Methods

Method Modifiers Description
destroy()
loadPlaylist(hlsUrlParameters) protected
onAudioTrackLoaded(event, data) protected
onError(event, data) protected
onLevelLoading(event, data) protected
onLevelSwitching(event, data) protected
onManifestLoading() protected
onManifestParsed(event, data) protected
setAudioOption(audioOption)