Home Reference Source
import MP3Demuxer from 'hls.js/src/demux/mp3demuxer.js'
public class | source

MP3Demuxer

Static Method Summary

Static Public Methods
public static

probe(data: *): boolean

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

config: *

public
public

remuxer: *

Private Members
private

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

Method Summary

Public Methods
public

append(data: *, timeOffset: *, contiguous: *, accurateTimeOffset: *)

public
public

resetInitSegment(initSegment: *, audioCodec: *, videoCodec: *, duration: *)

public

Static Public Methods

public static probe(data: *): boolean source

Params:

NameTypeAttributeDescription
data *

Return:

boolean

Public Constructors

public constructor() source

Public Members

public config: * source

public observer: * source

public remuxer: * source

Private Members

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

Public Methods

public append(data: *, timeOffset: *, contiguous: *, accurateTimeOffset: *) source

Params:

NameTypeAttributeDescription
data *
timeOffset *
contiguous *
accurateTimeOffset *

public destroy() source

public resetInitSegment(initSegment: *, audioCodec: *, videoCodec: *, duration: *) source

Params:

NameTypeAttributeDescription
initSegment *
audioCodec *
videoCodec *
duration *

public resetTimeStamp() source