Home Reference Source
import PassThroughRemuxer from 'hls.js/src/remux/passthrough-remuxer.ts'
public class | source

PassThroughRemuxer

Member Summary

Public Members
public
public
public

initData: InitData

public
public

initTracks: TrackSet

public
public

Method Summary

Public Methods
public
public
public

remux(audioTrack: DemuxedAudioTrack, videoTrack: PassthroughTrack, id3Track: DemuxedMetadataTrack, textTrack: DemuxedUserdataTrack, timeOffset: number): RemuxerResult

public

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

public
public

resetTimeStamp(defaultInitPTS: undefined)

Public Members

public audioCodec: string source

public emitInitSegment: boolean source

public initData: InitData source

public initPTS: number source

public initTracks: TrackSet source

public lastEndTime: * source

public videoCodec: string source

Public Methods

public destroy() source

public generateInitSegment(initSegment: undefined) source

Params:

NameTypeAttributeDescription
initSegment undefined

public remux(audioTrack: DemuxedAudioTrack, videoTrack: PassthroughTrack, id3Track: DemuxedMetadataTrack, textTrack: DemuxedUserdataTrack, timeOffset: number): RemuxerResult source

Params:

NameTypeAttributeDescription
audioTrack DemuxedAudioTrack
videoTrack PassthroughTrack
id3Track DemuxedMetadataTrack
textTrack DemuxedUserdataTrack
timeOffset number

Return:

RemuxerResult

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

Params:

NameTypeAttributeDescription
initSegment undefined
audioCodec undefined
videoCodec undefined

public resetNextTimestamp() source

public resetTimeStamp(defaultInitPTS: undefined) source

Params:

NameTypeAttributeDescription
defaultInitPTS undefined