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

PassThroughRemuxer

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public

initPTS: *

public
public
public

Method Summary

Public Methods
public
public
public

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

public

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

public
public

resetTimeStamp(defaultInitPTS: undefined)

Public Constructors

public constructor() source

Public Members

public audioCodec: * source

public emitInitSegment: boolean source

public initData: * source

public initPTS: * source

public initTracks: * source

public lastEndDTS: * source

public videoCodec: * source

Public Methods

public destroy() source

public generateInitSegment(initSegment: undefined) source

Params:

NameTypeAttributeDescription
initSegment undefined

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

Params:

NameTypeAttributeDescription
audioTrack DemuxedAudioTrack
videoTrack PassthroughVideoTrack
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