Home > hls.js > BufferController

BufferController class

Signature:

export default class BufferController implements ComponentAPI 

Implements: ComponentAPI

Constructors

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

Properties

Property Modifiers Type Description
appendError number
bufferCodecEventsExpected number
media HTMLMediaElement | null
mediaSource MediaSource | null
pendingTracks TrackSet
sourceBuffer SourceBuffers
tracks TrackSet

Methods

Method Modifiers Description
appendChangeType(type, mimeType) protected
checkPendingTracks() protected
createSourceBuffers(tracks) protected
destroy()
flushBackBuffer()
hasSourceTypes()
onBufferAppending(event, eventData) protected
onBufferCodecs(event, data) protected
onBufferEos(event, data) protected
onBufferFlushing(event, data) protected
onBufferReset() protected
onFragParsed(event, data) protected
onLevelUpdated(event, { details }) protected
onManifestParsed(event, data) protected
onMediaAttaching(event, data) protected
onMediaDetaching() protected
registerListeners() protected
unregisterListeners() protected
updateSeekableRange(levelDetails)