Home Reference Source
import MP4Remuxer from 'hls.js/src/remux/mp4-remuxer.js'
public class | source

MP4Remuxer

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

config: *

public
public
public
public
public
Private Members
private
private

Method Summary

Public Methods
public
public

generateIS(audioTrack: *, videoTrack: *, timeOffset: *)

public

remux(audioTrack: *, videoTrack: *, id3Track: *, textTrack: *, timeOffset: *, contiguous: *, accurateTimeOffset: *)

public

remuxAudio(track: *, timeOffset: *, contiguous: *, accurateTimeOffset: *): *

public

remuxEmptyAudio(track: *, timeOffset: *, contiguous: *, videoData: *)

public

remuxID3(track: *, timeOffset: *)

public

remuxText(track: *, timeOffset: *)

public

remuxVideo(track: *, timeOffset: *, contiguous: *, audioTrackLength: *, accurateTimeOffset: *): *

public
public

resetTimeStamp(defaultTimeStamp: *)

Private Methods
private

_PTSNormalize(value: *, reference: *): *

Public Constructors

public constructor() source

Public Members

public ISGenerated: boolean source

public config: * source

public isSafari: * source

public nextAudioPts: * source

public nextAvcDts: * source

public observer: * source

public typeSupported: * source

Private Members

private _initDTS: * source

private _initPTS: * source

Public Methods

public destroy() source

public generateIS(audioTrack: *, videoTrack: *, timeOffset: *) source

Params:

NameTypeAttributeDescription
audioTrack *
videoTrack *
timeOffset *

public remux(audioTrack: *, videoTrack: *, id3Track: *, textTrack: *, timeOffset: *, contiguous: *, accurateTimeOffset: *) source

Params:

NameTypeAttributeDescription
audioTrack *
videoTrack *
id3Track *
textTrack *
timeOffset *
contiguous *
accurateTimeOffset *

public remuxAudio(track: *, timeOffset: *, contiguous: *, accurateTimeOffset: *): * source

Params:

NameTypeAttributeDescription
track *
timeOffset *
contiguous *
accurateTimeOffset *

Return:

*

public remuxEmptyAudio(track: *, timeOffset: *, contiguous: *, videoData: *) source

Params:

NameTypeAttributeDescription
track *
timeOffset *
contiguous *
videoData *

public remuxID3(track: *, timeOffset: *) source

Params:

NameTypeAttributeDescription
track *
timeOffset *

public remuxText(track: *, timeOffset: *) source

Params:

NameTypeAttributeDescription
track *
timeOffset *

public remuxVideo(track: *, timeOffset: *, contiguous: *, audioTrackLength: *, accurateTimeOffset: *): * source

Params:

NameTypeAttributeDescription
track *
timeOffset *
contiguous *
audioTrackLength *
accurateTimeOffset *

Return:

*

public resetInitSegment() source

public resetTimeStamp(defaultTimeStamp: *) source

Params:

NameTypeAttributeDescription
defaultTimeStamp *

Private Methods

private _PTSNormalize(value: *, reference: *): * source

Params:

NameTypeAttributeDescription
value *
reference *

Return:

*