Home Reference Source
import ID3TrackController from 'hls.js/src/controller/id3-track-controller.ts'
public class | source

ID3TrackController

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

hls: Hls

public
public

media: *

Method Summary

Public Methods
public

createTrack(media: HTMLMediaElement): TextTrack

public
public

getID3Track(textTracks: TextTrackList): *

public

onBufferFlushing(event: undefined, undefined: BufferFlushingData)

public

onFragParsingMetadata(event: undefined, data: FragParsingMetadataData)

public

onLevelUpdated(event: undefined, undefined: LevelUpdatedData)

public
public

onMediaAttached(event: undefined, data: MediaAttachedData)

public
public

updateId3CueEnds(frameTypesAdded: Record)

Private Methods
private
private

Public Constructors

public constructor() source

Public Members

public dateRangeCuesAppended: Record source

public hls: Hls source

public id3Track: * source

public media: * source

Public Methods

public createTrack(media: HTMLMediaElement): TextTrack source

Params:

NameTypeAttributeDescription
media HTMLMediaElement

Return:

TextTrack

public destroy() source

public getID3Track(textTracks: TextTrackList): * source

Params:

NameTypeAttributeDescription
textTracks TextTrackList

Return:

*

public onBufferFlushing(event: undefined, undefined: BufferFlushingData) source

Params:

NameTypeAttributeDescription
event undefined
undefined BufferFlushingData

public onFragParsingMetadata(event: undefined, data: FragParsingMetadataData) source

Params:

NameTypeAttributeDescription
event undefined
data FragParsingMetadataData

public onLevelUpdated(event: undefined, undefined: LevelUpdatedData) source

Params:

NameTypeAttributeDescription
event undefined
undefined LevelUpdatedData

public onManifestLoading() source

public onMediaAttached(event: undefined, data: MediaAttachedData) source

Params:

NameTypeAttributeDescription
event undefined
data MediaAttachedData

public onMediaDetaching() source

public updateId3CueEnds(frameTypesAdded: Record) source

Params:

NameTypeAttributeDescription
frameTypesAdded Record

Private Methods

private _registerListeners() source

private _unregisterListeners() source