Home Reference Source
import AACDemuxer from 'hls.js/src/demux/aacdemuxer.ts'
public class | source

AACDemuxer

Extends:

src/demux/base-audio-demuxer.js~BaseAudioDemuxer → AACDemuxer

Static Member Summary

Static Public Members
public static

Static Method Summary

Static Public Methods
public static

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

config: HlsConfig

public

observer: HlsEventEmitter

Private Members
private

_audioTrack: {"container": string, "type": string, "id": number, "pid": *, "sequenceNumber": *, "isAAC": boolean, "samples": *, "manifestCodec": *, "duration": *, "inputTimeScale": number, "dropped": *}

Method Summary

Public Methods
public

appendFrame(track: undefined, data: undefined, offset: undefined): *

public

canParse(data: undefined, offset: undefined): *

public

resetInitSegment(initSegment: undefined, audioCodec: undefined, videoCodec: undefined, trackDuration: number)

Static Public Members

public static minProbeByteLength: number source

Static Public Methods

public static probe(data: undefined): boolean source

Params:

NameTypeAttributeDescription
data undefined

Return:

boolean

Public Constructors

public constructor() source

Public Members

public config: HlsConfig source

public observer: HlsEventEmitter source

Private Members

private _audioTrack: {"container": string, "type": string, "id": number, "pid": *, "sequenceNumber": *, "isAAC": boolean, "samples": *, "manifestCodec": *, "duration": *, "inputTimeScale": number, "dropped": *} source

Public Methods

public appendFrame(track: undefined, data: undefined, offset: undefined): * source

Params:

NameTypeAttributeDescription
track undefined
data undefined
offset undefined

Return:

*

public canParse(data: undefined, offset: undefined): * source

Params:

NameTypeAttributeDescription
data undefined
offset undefined

Return:

*

public resetInitSegment(initSegment: undefined, audioCodec: undefined, videoCodec: undefined, trackDuration: number) source

Params:

NameTypeAttributeDescription
initSegment undefined
audioCodec undefined
videoCodec undefined
trackDuration number