Home > hls.js > TransmuxerInterface > (constructor)

TransmuxerInterface.(constructor)

Constructs a new instance of the TransmuxerInterface class

Signature:

constructor(hls: Hls, id: PlaylistLevelType, onTransmuxComplete: (transmuxResult: TransmuxerResult) => void, onFlush: (chunkMeta: ChunkMetadata) => void);

Parameters

Parameter

Type

Description

hls

Hls

id

PlaylistLevelType

onTransmuxComplete

(transmuxResult: TransmuxerResult) => void

onFlush

(chunkMeta: ChunkMetadata) => void