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

MP4Demuxer

Static Member Summary

Static Public Members
public static

Static Method Summary

Static Public Methods
public static

probe(data: undefined): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

config: HlsConfig

public

Method Summary

Public Methods
public

demux(data: Uint8Array, timeOffset: number): DemuxerResult

public

demuxSampleAes(data: Uint8Array, keyData: KeyData, timeOffset: number): Promise

public
public

flush(): {"audioTrack": *, "avcTrack": *, "id3Track": *, "textTrack": *}

public
public
public

Static Public Members

public static minProbeByteLength: * source

Static Public Methods

public static probe(data: undefined): * source

Params:

NameTypeAttributeDescription
data undefined

Return:

*

Public Constructors

public constructor() source

Public Members

public config: HlsConfig source

public remainderData: * source

Public Methods

public demux(data: Uint8Array, timeOffset: number): DemuxerResult source

Params:

NameTypeAttributeDescription
data Uint8Array
timeOffset number

Return:

DemuxerResult

public demuxSampleAes(data: Uint8Array, keyData: KeyData, timeOffset: number): Promise source

Params:

NameTypeAttributeDescription
data Uint8Array
keyData KeyData
timeOffset number

Return:

Promise

public destroy() source

public flush(): {"audioTrack": *, "avcTrack": *, "id3Track": *, "textTrack": *} source

Return:

{"audioTrack": *, "avcTrack": *, "id3Track": *, "textTrack": *}

public resetContiguity() source

public resetInitSegment() source

public resetTimeStamp() source