Home > hls.js > AudioStreamController

AudioStreamController class

Signature:

declare class AudioStreamController extends BaseStreamController implements NetworkComponentAPI 

Extends: BaseStreamController

Implements: NetworkComponentAPI

Constructors

Constructor Modifiers Description
(constructor)(hls, fragmentTracker, keyLoader) Constructs a new instance of the AudioStreamController class

Methods

Method Modifiers Description
_handleFragmentLoadComplete(fragLoadedData) protected
_handleFragmentLoadProgress(data)
clearWaitingFragment()
doTick()
getMaxBufferLength(mainBufferLength) protected
loadFragment(frag, track, targetBufferTime) protected
onAudioTrackLoaded(event, data)
onAudioTracksUpdated(event, { audioTracks })
onAudioTrackSwitching(event, data)
onBufferCreated(event, data)
onBufferReset()
onFragBuffered(event, data)
onHandlerDestroying() protected
onInitPtsFound(event, { frag, id, initPTS, timescale })
onLevelLoaded(event, data)
onManifestLoading()
onMediaDetaching()
onTickEnd() protected
resetLoadingState() protected
startLoad(startPosition)